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

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

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 22 Apr 2008 17:50:20 +0100

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

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.