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

Re: different peg behaviour for cat/ls and cp/log

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-11-15 18:38:59 CET

On Nov 15, 2006, at 10:56, Peter McAlpine wrote:

> I've found that cat/ls have different behaviour for pegs than cp/log
> for directories/files that have been deleted and recreated.
>
> The commands below show what I'm talking about. As you can see, the
> cat/ls commands find the file/revision I'm looking for whereas the
> cp/log commands do not.
>
> What am I missing here?
[snip]
> # finds what I want
> svn ls -r 1 $SVN/alpha/file@1 .
> svn cat -r 1 $SVN/alpha/file@1 .
>
> # does not find what I want
> svn cp -r 1 $SVN/alpha/file@1 .
> svn log -r 1 $SVN/alpha/file@1 .

"svn cp" does not support peg revisions. See this bug:

http://subversion.tigris.org/issues/show_bug.cgi?id=2546

"svn log" did not support peg revisions until Subversion 1.4. See
this bug:

http://subversion.tigris.org/issues/show_bug.cgi?id=2287

Presumably you are using an earlier version of Subversion, and should
upgrade.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 15 18:40:38 2006

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.