You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Francois Beausoleil <fb...@users.sourceforge.net> on 2003/06/03 16:48:24 UTC

Inconsistent svn commit message generation

Hi !

I was working on my repository and I found something.  As I was ready to
commit, I typed "svn commit path/to/file path/to/file2".  My editor came
up, and lo and behold, the area under the "--This line, and those below,
will be ignored--" did not contain the path names from the WC root. 
Here's the command and the resulting editor data:

E:\wc>svn commit test\a test\b

--This line, and those below, will be ignored--

M    a
M    b

So, I managed to get my paths back when I did "svn commit".

I believe this to be inconsistent as the path should always be showing
up, and not sneaking away when I need it most :)

Here's a repro recipe:
E:\wc>svn --version
svn, version 0.23.0 (r5962)
   compiled May 19 2003, 20:00:14
   ...

E:\>svnadmin create repos

E:\>svn co file:///repos wc
Checked out revision 0.

E:\>cd wc

E:\wc>svn mkdir test
A         test

E:\wc>touch test\a

E:\wc>touch test\b

E:\wc>svn add test\a test\b
A         test\a
A         test\b

E:\wc>svn commit -m "bogus"
Adding         test
Adding         test\a
Adding         test\b

Transmitting file data ..
Committed revision 1.

E:\wc>echo "b" >test\a

E:\wc>echo "a" >test\b

E:\wc>svn st
M      test\a
M      test\b

E:\wc>svn commit                 --> Message area contains full paths

Log message unchanged or not specified
a)bort, c)ontinue, e)dit
a

E:\wc>svn commit test\a          --> Message area contains only filename

Log message unchanged or not specified
a)bort, c)ontinue, e)dit
a

E:\wc>svn commit test\a test\b    --> Message area contains only filename

Log message unchanged or not specified
a)bort, c)ontinue, e)dit
a


BTW, Win2K, SP2, SVN 0.23.0 (r5962).

Thanks for the great product !
Francois
--
  Francois Beausoleil
  Developer of Java Gui Builder
  http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org