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

`svn info -rPREV` gives inconsistent results.

From: Jonathan Steinert <hachi_at_kuiki.net>
Date: Thu, 14 Feb 2008 15:01:24 -0800

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_at_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_at_miyako:~/mogilefs-working$ svn mkdir ./tags/MogileFS-Client-FilePaths
hachi_at_miyako:~/mogilefs-working$ svn ci # This creates r1149

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

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

hachi_at_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_at_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_at_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_at_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_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-15 05:59:03 CET

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.