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

Re: Potential bug: Retrieve old revision after moving file

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-02-17 17:04:52 CET

On Fri, 2004-02-13 at 07:06, Schmitt, Michael wrote:

> So how can I retrieve the old version? If old revisions are lost in
> space after a move operation

They're not lost. The problem is that only 'svn log' understand
copy-history. ('svn mv' is implemented as 'svn cp && svn rm'). There
are already bugs/feature issues filed on making other subcommands aware
of following history. For example, 'svn diff', 'svn ls', and 'svn cat'
ought to follow history backwards as well.

The workaround for 1.0 is to run 'svn log -v foo.c', and figure out the
exact (revision, path) pair that you want to cat. Then you run

   svn cat -r REV URL-to-old-path

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 17 17:09:02 2004

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.