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

Re: What different between ls -rX and ls URL@X ?

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2005-05-08 17:26:35 CEST

Ben Collins-Sussman said the following on 2005-05-08 10:29:
> If you wait a few more days, it will. :-)

Great ! I'll be happy to read it :)

> Peg revisions are the mechanism used to trace rename (copy) history.
> Nearly every svn command is of the form:
>
> svn subcommand -r X path@PEGREV
>
> What this means is:
>
> * go to the coordinates (PEGREV, path)
>
> * trace the object backwards to revision X, noticing any copies or
> renames
>
> * perform the command on the older object in revision X, even if it
> has a different path.

Okay, I read what you wrote, but I don't know how to apply it to my case.

State of the tree at r3423:
trunk/
   web/
     src/

State of the tree at r3424:
trunk/
   src/
     web/

(In effect, I did svn mkdir src; srv move web/src src/web; svn commit)

So, when I run "svn ls -r3423 svn://URL/web/src/test-data.ddl", here's
what I guess is happening:

   * SVN translates the command to "svn ls -r3423 X@HEAD" (HEAD is r3424)

   * SVN traces the object backwards to r3423, and notices a copy
(web/src/test-data.ddl@3424 was copied from src/web/test-data.ddl@3423)

   * Then, SVN runs the command (ls) on path src/web/test-data.ddl, in
r3423.

Have I understood things correctly ? If I did, how come the message
says "test-data.ddl doesn't exist in r3424" ?

Thanks for helping a lost soul here :)

Bye !
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun May 8 17:27:04 2005

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.