You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Martyn <gm...@verizon.net> on 2004/04/04 04:19:10 UTC
svn commit -N
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I don't think that this is the expected behavior:
- ----------------------------
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
C:\www>
- ----------------------------
..or is it? ;-)
- --Greg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAb4zETbK6opmKUmoRAgUqAJ4pXxLnoko+aoXsFXZg+h9ngCboQACdHKeE
sbn76FKeTot8K9J0qA1BQj4=
=4TAV
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Followup: svn commit -N
Posted by kf...@collab.net.
Juanma Barranquero <le...@mi.madritel.es> writes:
> 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".
Note that (IIRC) this is a deliberate inconsistency -- we thought this
depth(0) behavior more useful for commits, while -N means depth(1)
everywhere else.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Followup: svn commit -N
Posted by "C.A.T.Magic" <c....@gmx.at>.
Juanma Barranquero wrote:
> On Sat, 3 Apr 2004 23:43:34 -0500, Greg Martyn <gm...@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
Re: Followup: svn commit -N
Posted by Juanma Barranquero <le...@mi.madritel.es>.
On Sat, 3 Apr 2004 23:43:34 -0500, Greg Martyn <gm...@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.
/L/e/k/t/u
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Followup: svn commit -N
Posted by Greg Martyn <gm...@verizon.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> ----------------------------
> 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
>
> C:\www>
> ----------------------------
Without the -N:
C:\www>svn ci -m "just testing"
Adding (bin) test file.txt
Transmitting file data .
Committed revision 40.
C:\www>svn status
C:\www>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAb5J5TbK6opmKUmoRAqsVAKCmsx2FXAcnApCmskFBcg5n/JmRhACZAWHz
QFce8H1Iyqlvm9jFjV4nRj4=
=3/+i
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org