You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jonathan Steinert <ha...@kuiki.net> on 2008/02/14 23:01:24 UTC

`svn info -rPREV` gives inconsistent results.

I'm seeing `svn info -rPREV` sometimes follow copies, and sometimes throws an error (instead of following copy)

Why is it capable of following the first of these, but not the second?

###################################################################################
# First a bit of setup
hachi@miyako:~/mogilefs-working/tags/MogileFS-Plugin-FilePaths-0.01$ svn log -v --stop-on-copy
------------------------------------------------------------------------
r889 | hachi | 2007-04-20 14:31:36 -0700 (Fri, 20 Apr 2007) | 1 line
Changed paths:
   A /tags/MogileFS-Plugin-FilePaths-0.01 (from /trunk/server-plugins/MogileFS-Plugin-FilePaths:888)

Tagging version '0.01' using shipit.
------------------------------------------------------------------------

# Okay, so this tag was created by copying trunk at revision 888... I'll do that again in a new directory.

hachi@miyako:~/mogilefs-working$ svn mkdir ./tags/MogileFS-Client-FilePaths
hachi@miyako:~/mogilefs-working$ svn ci # This creates r1149

hachi@miyako:~/mogilefs-working$ svn cp -r888 ./trunk/server-plugins/MogileFS-Plugin-FilePaths ./tags/MogileFS-Plugin-FilePaths/MogileFS-Plugin-FilePaths-0.01
hachi@miyako:~/mogilefs-working$ svn ci # This creates r1150

###################################################################################
# Original tag

hachi@miyako:~/mogilefs-working/tags/MogileFS-Plugin-FilePaths-0.01$ svn info
Path: .
URL: file:///home/hachi/mogilefs/tags/MogileFS-Plugin-FilePaths-0.01
Repository Root: file:///home/hachi/mogilefs
Repository UUID: f67b2e87-0811-0410-a7e0-dd94e48410d6
Revision: 1150
Node Kind: directory
Schedule: normal
Last Changed Author: hachi
Last Changed Rev: 889
Last Changed Date: 2007-04-20 14:31:36 -0700 (Fri, 20 Apr 2007)

hachi@miyako:~/mogilefs-working/tags/MogileFS-Plugin-FilePaths-0.01$ svn info -rPREV
Path: MogileFS-Plugin-FilePaths
URL: file:///home/hachi/mogilefs/trunk/server-plugins/MogileFS-Plugin-FilePaths
Repository Root: file:///home/hachi/mogilefs
Repository UUID: f67b2e87-0811-0410-a7e0-dd94e48410d6
Revision: 888
Node Kind: directory
Last Changed Author: hachi
Last Changed Rev: 888
Last Changed Date: 2007-04-20 14:08:13 -0700 (Fri, 20 Apr 2007)

###################################################################################
# New copy of tag

hachi@miyako:~/mogilefs-working/tags/MogileFS-Plugin-FilePaths/MogileFS-Plugin-FilePaths-0.01$ svn info
Path: .
URL: file:///home/hachi/mogilefs/tags/MogileFS-Plugin-FilePaths/MogileFS-Plugin-FilePaths-0.01
Repository Root: file:///home/hachi/mogilefs
Repository UUID: f67b2e87-0811-0410-a7e0-dd94e48410d6
Revision: 1150
Node Kind: directory
Schedule: normal
Last Changed Author: hachi
Last Changed Rev: 1150
Last Changed Date: 2008-02-12 16:26:54 -0800 (Tue, 12 Feb 2008)

hachi@miyako:~/mogilefs-working/tags/MogileFS-Plugin-FilePaths/MogileFS-Plugin-FilePaths-0.01$ svn info -rPREV
svn: Unable to find repository location for '' in revision 1149

^^^^ Why does this fail?

Thanks,
Jonathan Steinert


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org