Sponsored Content
Full Discussion: Revert SVN import
Homework and Emergencies Emergency UNIX and Linux Support Revert SVN import Post 302355884 by johnbach on Thursday 24th of September 2009 04:10:04 AM
Old 09-24-2009
Revert SVN import

Instead of importing a project/folder as
Code:
svn import vlsms/ file:///home/repo/vlsms -m "Initial Upload"

I did
Code:
svn import vlsms/ file:///home/repo -m "Initial Upload"

How to undo this import (in a clean way,without trace?)

---------- Post updated at 03:10 AM ---------- Previous update was at 02:34 AM ----------

I think i did it

last import(vlsms) was revision 22

Code:
svnadmin dump /home/repo/ --revision 0:21 > src.db
su
mv /home/repo /home/repobk
mkdir /home/repo
chown :svn /home/repo
exit
svnadmin create /home/repo
svnadmin load /home/repo < src.db

 

10 More Discussions You Might Find Interesting

1. Solaris

need zpool to revert...

hi i have created a pool using zpool command for my /dev/dsk/c1d0s3 disk. The poolname is qwertyuiopasdfghjklmnbvcxzzxcvbnmasdfghjklqwertyuiopoiuytrewqasdfghjklkjhgfdsazxcvbnmmnbnbcxczxzassd ddddvfhfghgjjgjhgkhkljfjlhohihiuyuioyguioyguiowyuiogwyuigwrigywuigyguiyuiogyugiyguioyuyguiowygiuygui... (1 Reply)
Discussion started by: SankarV
1 Replies

2. Linux

Is it possible to revert a file after overwriting it ?

Long story short, there was some sort of corruption with my ide and the script I was working on has been over written with nothing (the file is blank now). The IDE doesn't store a back up from what I know (I'm using notepadd++ in wine lol I know I know I'm addictted to the nppftp sidebar and geany... (1 Reply)
Discussion started by: noPermissions
1 Replies

3. HP-UX

HP-UX revert from trusted system to default

All, I have inherited some software that is running on HP-HX 11.11. The software ofers a GUI login and the user passwords can be either internal to the software, user defined or based on the matching unix account. The problem I have is that the server has been converted to 'trusted' years... (7 Replies)
Discussion started by: rbatte1
7 Replies

4. Solaris

How to integrate SVN client to SVN server repository.

Hi, I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7. bash-3.00# ./svn --version svn, version 1.7.4 (r1295709) compiled Mar 2 2012, 12:59:36 Here my requirement is how to integrate svn client to One of the SVN server repository. My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

5. UNIX for Advanced & Expert Users

gmail revert to old look permanently

I thought I would share gmail revert to old look permanently. I am sure I am not the only one annoyed by the new look. Install Stylish extension Choose the Stylish UserStyle that you want. I know The Return of Old Gmail and gmail-b2b both work but I prefer gmail-b2b since I think it looks... (0 Replies)
Discussion started by: cokedude
0 Replies

6. UNIX for Advanced & Expert Users

CVS command to revert deleted files

Hi, I have deleted a file and commited in CVS. So, is there any CVS command to revert back that deleted file with existing log messages. --Thanks in advance Madhu (1 Reply)
Discussion started by: madhuti
1 Replies

7. Emergency UNIX and Linux Support

[Solved] EMERGENCY - can I revert 1 hour of mysql changes

I know, its stupid.. MYSQL on CENTOS 5 using WHM Imported a lot of users/posts from old forum to new forum, but my backup was lost. Can I somehow simply remove all mysql table changes for the last 3 hours, returning to pre-import status. ---------- Post updated at 03:44 AM ----------... (6 Replies)
Discussion started by: lawstudent
6 Replies

8. Red Hat

Snapshot revert fails in my KVM setup

Hi All, I am trying to revert a snapshot and I am getting the below error message in my KVM setup (RHEL6.5). Reverting to a snapshot is failing. I used the below command to create the snapshot. Below is my snapshot list: virsh snapshot-list TestImg –tree ... (0 Replies)
Discussion started by: kalpeer
0 Replies

9. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies

10. Ubuntu

Help me to revert the file /root/.ssh/authorized_keys

Hi, I copied the key of rsa.pub to authorized_keys using the below command cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys By mistake i have executed another command view cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys so now additional keys are copied.so please help me... (3 Replies)
Discussion started by: SA_Palani
3 Replies
ae-repo-ci(1)															     ae-repo-ci(1)

NAME
ae-repo-ci - redundant repository checkin SYNOPSIS
ae-repo-ci -Project name -Change number -REPOsitory type [ option... ] ae-repo-ci -Help ae-repo-ci -VERSion DESCRIPTION
The ae-repo-ci command is used to redundantly commit an Aegis change set into a parallel repository. Integrate Pass Notify Command The intended use for the ae-repo-ci command is as an integrate_pass_notify_command (see aepa(1) for more information) to do a redundant checkin of a change set into a second parallel repository. For example, if you were using CVS, the project attribute would look something like this: integrate_pass_notify_command = "$bin/ae-repo-ci -repo cvs " " -p $project -c $change"; You may also need to specify the module, if the module name is not the same as the project name. Commit Messages You are able to control the commit message, by using the ae-repo-ci:commit-message attribute in the project_specific field of the project configuration file. The default is as if the following entry were present: project_specific = [ { name = "ae-repo-ci:commit-message"; value = "$version - ${change brief_description}"; } ]; All of the aesub(5) substitutions are available. OPTIONS
The following options are understood: -Change number This option may be used to specify a particular change within a project. See aegis(1) for a complete description of this option. -DIRectory path This option may be used to specify which directory is to be used. It is an error if the current user does not have appropriate permissions to create the directory path given. This must be an absolute path. Caution: If you are using an automounter do not use `pwd` to make an absolute path, it usually gives the wrong answer. -Help This option may be used to obtain more information about how to use the ae-repo-ci program. -List This option may be used to obtain a list of supported repository types. -MODule name This option may be used to specify which module is to be checked out. If not set, it defaults to the trunk project name (i.e. the project name without any branch or version numbers). -Project name This option may be used to select the project of interest. When no -Project option is specified, the AEGIS_PROJECT environment variable is consulted. If that does not exist, the user's $HOME/.aegisrc file is examined for a default project field (see aeu- conf(5) for more information). If that does not exist, when the user is only working on changes within a single project, the project name defaults to that project. Otherwise, it is an error. -REPOsitory type This option is used to specify the repository type for the checkin. Known repository types are: cvs Concurrent version System. You will need to set the CVSROOT environment variable appropriately, and the -module option will be relative to it. svn Subversion. You must specify the complete URL with the -module option. The following field in the project_specific field of the project configuration file (see aepconf(5) for more information) are relevant: svn:username If present, the --username command line option will be added to svn(1) command lines, with this value. svn:password 8n If present, the --username command line option will be added to svn(1) command lines, with this value. These options can help when you can't convince Subversion to use the correct authorization any other way. This option must be specified, there is no default. The -list option may be used to obtain an up-to-date list of supported repos- itory types. See also aegis(1) for options common to all aegis commands. All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are optional. You must use consecutive sequences of optional letters. All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important. For example: the arguments "-project, "-PROJ" and "-p" are all interpreted to mean the -Project option. The argument "-prj" will not be understood, because consecutive optional characters were not supplied. Options and other command line arguments may be mixed arbitrarily on the command line, after the function selectors. The GNU long option names are understood. Since all option names for ae-repo-ci are long, this means ignoring the extra leading '-'. The "--option=value" convention is also understood. EXIT STATUS
The ae-repo-ci command will exit with a status of 1 on any error. The ae-repo-ci command will only exit with a status of 0 if there are no errors. ENVIRONMENT VARIABLES
See aegis(1) for a list of environment variables which may affect this command. See aepconf(5) for the project configuration file's project_specific field for how to set environment variables for all commands executed by Aegis. SEE ALSO
aeca(1) how to change project attributes COPYRIGHT
ae-repo-ci version 4.24.3.D001 Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Peter Miller The ae-repo-ci program comes with ABSOLUTELY NO WARRANTY; for details use the 'ae-repo-ci -VERSion License' command. This is free soft- ware and you are welcome to redistribute it under certain conditions; for details use the 'ae-repo-ci -VERSion License' command. AUTHOR
Peter Miller E-Mail: millerp@canb.auug.org.au //* WWW: http://www.canb.auug.org.au/~millerp/ Reference Manual Aegis ae-repo-ci(1)
All times are GMT -4. The time now is 01:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy