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

Re: Bug in "svn ls -r REV URL"?

From: Duncan Booth <duncan.booth_at_suttoncourtenay.org.uk>
Date: 2006-09-26 10:25:49 CEST

"Ray Johnson" <rayj@ingenio.com> wrote:

> c:> svn ls -r 1000 http://svn/MyRepro/trunk

which means find the folder called 'trunk' in the current revision, go back
to revision 1000 and list its contents. This command is shorthand for:

    svn ls -r 1000 http://svn/MyRepro/trunk@HEAD

>
> However, all operations like export, ls, etc. fail when I try to
> operate on the old directory itself. For example:
> C:\src\temp>svn export -r 1000 http://svn/MyRepro/trunk/old_dir/

which means find the folder called 'trunk/old_dir' in the current revision
then go back to revision 1000. Since that folder no longer exists the
command fails.

The command:

   svn export -r 1000 http://svn/MyRepro/trunk/old_dir/@1000

means find the folder called 'trunk/old_dir' in revision 1000, then go to
revision 1000 and export it.

Remember that different objects may have had the same names at different
times in your repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 26 10:27:55 2006

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