You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jonatan Lander <jo...@jonatan.com> on 2004/10/04 09:32:39 UTC

[Bug?] Re: Relative path weirdness with commit

Ping, ping. No responses yet. Is this a bug, and if so should I file it
in the issue tracker?

On 2004-09-29, at 17.41, Jonatan Lander wrote:
> Ping. Is this a bug?
>
> On 2004-09-26, at 10.52, Jonatan Lander wrote:
>> I just noticed something weird when I committed a file when I was in a
>> subdirectory of my working copy. The path to the file that was 
>> committed
>> is reported relative to the parent directory of the directory I was 
>> in.
>> Is this intended? I found it a little confusing that the path reported
>> by 'svn ci' is inconsistent with what 'svn add' and 'svn st' reports.
>> For example:
>>
>> [pb:tmp-wc/foo/bar] jonatan% svn add baz
>> A         baz
>> [pb:tmp-wc/foo/bar] jonatan% svn st
>> A      baz
>> [pb:tmp-wc/foo/bar] jonatan% svn ci -m ""
>> Adding         bar/baz
>> Transmitting file data .
>> Committed revision 2.
>>
>> This happens both with 1.1.0rc3 and 1.0.6.
>>
>>
>> --8<-- Complete reproduction recipe: --8<--
>>
>> #! /bin/sh
>> svnadmin create tmp-repos
>> svn co file://`pwd`/tmp-repos tmp-wc
>> cd tmp-wc
>> svn mkdir foo
>> svn mkdir foo/bar
>> svn ci -m ""
>> cd foo/bar
>> touch baz
>> svn add baz     # Reports path as baz.
>> svn st          # Reports path as baz.
>> svn ci -m ""    # Reports path as bar/baz. Why?
>> cd ../../..
>> rm -rf tmp-repos tmp-wc


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: [Bug?] Re: Relative path weirdness with commit

Posted by "C. Michael Pilato" <cm...@collab.net>.
Jonatan Lander <jo...@jonatan.com> writes:

> Ping, ping. No responses yet. Is this a bug, and if so should I file it
> in the issue tracker?

File away.  And thanks for the repro recipe (which should be included
in the issue).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org