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
Git::SVN::Prompt(3)					User Contributed Perl Documentation				       Git::SVN::Prompt(3)

NAME
Git::SVN::Prompt - authentication callbacks for git-svn SYNOPSIS
use Git::SVN::Prompt qw(simple ssl_client_cert ssl_client_cert_pw ssl_server_trust username); use SVN::Client (); my $cached_simple = SVN::Client::get_simple_provider(); my $git_simple = SVN::Client::get_simple_prompt_provider(&simple, 2); my $cached_ssl = SVN::Client::get_ssl_server_trust_file_provider(); my $git_ssl = SVN::Client::get_ssl_server_trust_prompt_provider( &ssl_server_trust); my $cached_cert = SVN::Client::get_ssl_client_cert_file_provider(); my $git_cert = SVN::Client::get_ssl_client_cert_prompt_provider( &ssl_client_cert, 2); my $cached_cert_pw = SVN::Client::get_ssl_client_cert_pw_file_provider(); my $git_cert_pw = SVN::Client::get_ssl_client_cert_pw_prompt_provider( &ssl_client_cert_pw, 2); my $cached_username = SVN::Client::get_username_provider(); my $git_username = SVN::Client::get_username_prompt_provider( &username, 2); my $ctx = new SVN::Client( auth => [ $cached_simple, $git_simple, $cached_ssl, $git_ssl, $cached_cert, $git_cert, $cached_cert_pw, $git_cert_pw, $cached_username, $git_username ]); DESCRIPTION
This module is an implementation detail of the "git svn" command. It implements git-svn's authentication policy. Do not use it unless you are developing git-svn. The interface will change as git-svn evolves. DEPENDENCIES
SVN::Core. SEE ALSO
SVN::Client. INCOMPATIBILITIES
None reported. BUGS
None. perl v5.16.3 2013-06-10 Git::SVN::Prompt(3)