Revert SVN import

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Revert SVN import
# 1  
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

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question
SVN-UPGRADE(1)							 Command reference						    SVN-UPGRADE(1)

NAME
svn-upgrade - upgrade source package from a new upstream revision SYNOPSIS
svn-upgrade newsource [options] DESCRIPTION
svn-upgrade modifies a Debian package source located in a Subversion repository, upgrading it to a new upstream release. The repository filesystem tree must be in the format created by svn-inject. OPTIONS
svn-upgrade accepts the following options on the command-line: -V STRING | --version STRING Forces a different upstream version string Default: Off. -c | --clean Runs make clean and removes the debian/ directory in the new source. Default: Off. -P STRING | --packagename STRING Forces a different package name Default: Off. -v | --verbose More verbose program output Default: Off. -r | --replay-conflicting Extra cleanup run: replaces all conflicting files with upstream versions. Review of svn status output before doing that could make sense. Default: Off. -N | --noautodch Upgrade without making a new changelog entry. Default: Make the changelog entry. -u | --uscan Use uscan to download the new version. --noninteractive Turn off interactive mode. --ignoreerrors In noninteractive mode, ignore errors. --ignored-files-action STRING Make files that are ignored due to subversion ignore patterns to be 'import'ed or 'skip'ed. -e | --auto-epoch Automatically increase version epoch if the new upstream version is not greater than the current. --debclean Run debclean before merging the new upstream source. Tarballs must be compressed with gzip or bzip2. SEE ALSO
/usr/share/doc/svn-buildpackage/() The svn-buildpackage HOWTO manual svn(1) Subversion command line client tool svn-buildpackage(1) build Debian packages from SVN repository AUTHORS
Eduard Bloch This manual page was written by Eduard Bloch in roff. Goneri Le Bouder Converted manpages to SGML. Neil Williams Converted manpages to DocBook XML and current Debian maintainer COPYRIGHT
Copyright (C) 2009 Eduard Bloch Release: 0.8.2 May 2009 SVN-UPGRADE(1)