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

svn info returns parent information on missing directories (Issue #3178)

From: Bert Huijben <bert_at_vmoo.com>
Date: Sun, 20 Apr 2008 23:52:35 +0200

While testing some subversion code for AnkhSVN 2.0 I found the following
issue on missing files.

 

'Svn info' on a missing directory gives back the information of the parent
directory as if it would be the information of the child.

(Most notable the 'URL' is the url of the parent directory and not that of
the missing file)

 

Steps to reproduce:

 

# svn mkdir a

# echo > b

# svn add b

# svn ci -m ""

 

# mv a old-a

# mv b old-b

# svn info a

(error case)

# svn info b

(ok case)

 

# svn info old-a

(compare data for the error case)

 

The first info call gives the info of the parent directory with

as path value'a' while the second info call gives information of

the missing file

 

Expected behaviour:

Current working copy format: svn info a

Some kind of error (when the information is not available)

Or the real information (if that is reconstructable from the parent
directory)

 

WC NG with information stored in one location:

The right information

 

(Added as testcase in the SharpSvn test framework to monitor future changes
in behaviour)

 

                Bert
Received on 2008-04-22 07:59:30 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.