Bert Huijben wrote:
> 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.
Hi Bert. Thank you for this bug report. I tried this with today's trunk build
and I confirm it is a bug. Please could you file an issue in the tracker?
Thanks.
- Julian
> (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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-22 18:50:36 CEST