[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion 0.7 released.

From: Philip Martin <pmartin_at_uklinux.net>
Date: 2001-12-05 01:44:18 CET

cmpilato@collab.net writes:

> Version 0.7 features the following items:
>
> - `svn copy' and `svn move' now take either working copy paths or
> repository URLs for both the SOURCE and DESTINATION arguments.
> This allows for such things as copying your development branch
> into a "tags" directory, restoring files and directories that
> were previously removed from revision control, etc.

So how does one restore deleted items using the command line client?

Given

$ svn co file:///home/pm/repo -d wc
$ cd wc
$ svn rm foo
D foo
$ svn ci
Deleting /home/pm/wc/foo
Commit succeeded.
$ svn up

how do I restore the file foo?

The only way I have found is to update to a revision that includes
foo, 'svn copy' it to some temporary name, commit it, update and then
'svn move' it back to its original name; the commit in the middle
makes this unacceptable. Can I 'svn copy' directly from the file's
repository URL, and what does that look like?

Philip

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.