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

Re: Undelete one file in a subtree

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-09-19 07:20:52 CEST

On Sep 18, 2007, at 08:38, Leonid Podolny wrote:

> How do I undelete one file in a subtree?

You could "svn copy" it from a time when it still existed.

svn copy url://to/repo/path/to/file.txt_at_REV /path/to/wc/path/to/file.txt

where REV is a revision in which the file existed.

Possibly, you also need to add "-rREV". Or possibly not. Try it out.

If the directory structure does not already exist in the working
copy, create it first using "svn mkdir".

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 19 07:22:44 2007

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

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