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

Re: Followup: svn commit -N

From: C.A.T.Magic <c.a.t.magic_at_gmx.at>
Date: 2004-04-05 02:11:10 CEST

Juanma Barranquero wrote:

> On Sat, 3 Apr 2004 23:43:34 -0500, Greg Martyn <gmartyn@verizon.net> wrote:
>
>
>>>C:\www>svn add "test file.txt"
>>>A (bin) test file.txt
>>>
>>>C:\www>svn ci -N -m "just testing"
>>>
>>>C:\www>svn status
>>>A test file.txt
>
>
> You're not passing a path to "ci -N", so it assumes ".". The directory
> is up to date, so nothing is commited.
>
> If you do "ci", without -N, it does a recursive commit and finds that it
> must commit "test file.txt".
>
> Also, if you do:
>
> C:\www>svn ci -N -m "just testing" "test file.txt"
> Adding test file.txt
> Transmitting file data .
> Committed revision 40.

>svn status -N
A file.txt
? file.txt.bak

>svn commit -N -m ""
   # nothing committed

X:\SVNSandbox\SVNChecker\Work>svn commit -N * -m ""
svn: 'X:/SVNSandbox/SVNChecker/Work/blabla.txt.bak' is not under version
control
   # nothing committed (* includes the .bak and svn errors - correct)

del file.txt.bak

>svn commit -N * -m ""
Adding blabla.txt
Transmitting file data ..
Committed revision 14.

but why does svn status -N behave differently?
( both have the same documentation
   "-N [--non-recursive] : operate on single directory only" )

status includes the directory contents, commit does not.

======
c.a.t.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 5 02:11:12 2004

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.