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

Re: BUG? svn list does NOT respect --revision 640 on a file that is deleted in revision 647

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-08-18 15:39:00 CEST

On Aug 18, 2005, at 8:17 AM, Jon Bendtsen wrote:

> Den 18. aug 2005 kl. 15:13 skrev Ben Collins-Sussman:
>
>
>>
>> On Aug 18, 2005, at 7:45 AM, Jon Bendtsen wrote:
>>
>>
>>
>>> hi
>>>
>>> I dont know if the above is a BUG or not, but i expected a
>>> different answer than what i've got from svn list
>>>
>>> frodo:/tmp# svn list --revision 640 --verbose http://localhost/
>>> data/svn/jontest/laesmig.txt
>>> svn: REPORT request failed on '/data/svn/!svn/bc/647/jontest/
>>> laesmig.txt'
>>> svn: '/data/svn/!svn/bc/647/jontest/laesmig.txt' path not found
>>>
>>> file laesmig.txt is deleted in revision 647 or 646.
>>>
>>> frodo:/tmp# svn list --revision 640 --verbose http://localhost/
>>> data/svn/jontest/t.sh
>>> 639 jbendtse 335 Aug 18 12:29 t.sh
>>> frodo:/tmp# svn list --revision 630 --verbose http://localhost/
>>> data/svn/jontest/t.sh
>>> 597 jbendtse 327 Aug 16 12:54 t.sh
>>>
>>>
>>> I expected svn list to give me the above line for revision 640
>>> for the file laesmig.txt even if it was deleted since that.
>>>
>>>
>>> I searched in the issue tracker on list, and could not find
>>> previous reports of this.
>>>
>>>
>>>
>>>
>>
>> Are you using a very old version of the svn client? It sure looks
>> like it.
>>
>
> Maybe, it is the version from debian unstable installed on debian
> stable to get 1.2
>
> ii subversion 1.2.0-1 advanced version control
> system (aka. svn)
> /usr/bin/svn

Aha, this is the effect of 'peg revisions'. When you run

    svn ls -r 640 URL

...it's equivalent to running

    svn ls -r 640 URL@HEAD

And of course, URL@HEAD doesn't exist. So what you *should* be
typing is

    svn ls URL@640

To learn about peg revisions, see:

     http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 18 16:15:07 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.