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

Non-recursive commits don't work?

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2004-10-06 17:48:44 CEST

I'm using 1.1 RC4 on windows XP at the moment and noticed something
strange.

Usually when I issue "svn ci" in a workiing directory all my changes
are commited recursively. Today I had a need to commit changes in a
particular folder, but not any sub-folders.

I did:

svn ci -N -m "fixed bug xxxx"

...and there was no output from the command at all, "svn st" showed
that the files in that folder were still modified, as were a couple
files in a sub-folder.

I also tried putting a dot '.' for the current directory after the
above (svn ci -N -m "blah" .) but that had the same effect.

I had to manually specify the files I wanted to check in to get them
committed without the changes from the sub-folder.

e.g.:

svn ci -m "fixed bug xxxx" file1.java file2.java

worked fine.

Did I do something wrong in the first case with the -N parameter? Or
did I find a bug?

The output of "svn st" before I did the commit looked like this:
M folder/blah1
M folder/blah2
M file1
M file2

It was unaffected by my non-recursive attempts, but after my successful
attempt it showed that what I wanted to do did indeed happen:
M folder/blah1
M folder/blah2

I expected -N to do the trick, as if there were many files in the
current folder it would have been rather tedious to check them all in
in one revision.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 6 17:49:18 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.