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

[Bug?] Re: Relative path weirdness with commit

From: Jonatan Lander <jonatan_at_jonatan.com>
Date: 2004-10-04 11:32:39 CEST

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
Received on Mon Oct 4 18:59:54 2004

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