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

Inconsistent svn commit message generation

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-06-03 18:48:24 CEST

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
Received on Tue Jun 3 18:49:18 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.