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

Re: reviving a file from the repository depths?

From: Phillip Susi <psusi_at_cfl.rr.com>
Date: 2005-12-14 06:04:31 CET

Scan the output of svn log for the file in question. It's creation, all
modifications, and it's ultimate deletion will be in the log. Once you
find out where it was, you can bring it back from the dead if you wish
with an svn copy using a peg revision like:

svn copy https://server/svn/path/to/file@last_rev_in_which_it_existed
https://server/svn/path/to/file

Or if you just want to look at it without restoring it, just svn cat
https://server/svn/path/to/file@last_rev_in_which_it_existed

Will Partain wrote:
> Use case: I know a particular SVN repository used to include a file
> named (say) *roundup-config* (i.e. "roundup-config" was in there
> somewhere). It's long since deleted. What is the elegant way to find
> it? (i.e. not "run emacs on a dump of the repository" :-) Thanks,
>
> Will
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 14 06:06:36 2005

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