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
'Svn info' on a missing directory gives back the information of the parent
(Most notable the 'URL' is the url of the parent directory and not that of
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
WC NG with information stored in one location:
The right information
(Added as testcase in the SharpSvn test framework to monitor future changes
Bert
|
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.