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

RE: Nonrecursive commits on conflicted directories in 0.22

From: Arild Fines <arild.fines_at_broadpark.no>
Date: 2003-05-09 01:38:01 CEST

cmpilato@collab.net wrote:
> "Arild Fines" <arild.fines@broadpark.no> writes:
>
>> Is this a regression, or was it intentional?
>>
>> J:\tmp\wc-47>svn st
>> C Form.cs
>> ? Form.cs.mine
>> ? Form.cs.r6
>> ? Form.cs.r7
>>
>> J:\tmp\wc-47>svn --version
>> svn, version 0.22.0 (dev build)
>>
>> J:\tmp\wc-47>svn21 --version
>> svn, version 0.21.0 (dev build)
>>
>> J:\tmp\wc-47>svn21 ci . -m "" -N
>> svn: A conflict in the working copy obstructs the current operation
>> svn: Commit failed (details follow):
>> svn: Aborting commit: 'J:/tmp/wc-47/Form.cs' remains in conflict.
>>
>> J:\tmp\wc-47>svn ci . -m "" -N
>> (No output)
>>
>> As you see, a non-recursive commit on a conflicted directory in 0.22
>> is a no-op, while in 0.21 it generated an error message.
>
> This is intentional. 'svn commit -N' behaves a bit differently than
> other nonrecursive operations. For commit, -N means depth 0
> (directory only). Most other subcommands use -N to mean depth 1
> (directory plus all non-directory children of that directory).

Ah, that makes sense. Thanks!

--
Arild
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 9 01:38:11 2003

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.