"svn commit -m filename" warns that the user probably meant "-F" instead of "-m". "svn import" uses log message arguments in the same way but does not give the warning. Guess which one I used first. This behaviour is inconsistent and therefore wrong :-) This probably applies to other commands as well.
Transcript:
~/src> svn import -m svn-commit.tmp file:///home/julianfoad/vcs/myrepos/ globcomplete/ globcomplete
Adding globcomplete/Makefile
Adding globcomplete/test.sh
Adding globcomplete/.kdbgrc.globcomplete
Adding globcomplete/globcomplete.cpp
Adding globcomplete/.gdbtkinit
Committed revision 1.
~/src> svn log globcomplete
------------------------------------------------------------------------
rev 1: julianfoad | 2003-04-10 00:35:47 +0100 (Thu, 10 Apr 2003) | 1 line
svn-commit.tmp
------------------------------------------------------------------------
~/src> cd globcomplete
~/src/globcomplete> ls initial-log-message
-rw-r--r-- 1 julianfoad 896 2003-04-10 00:35 initial-log-message
~/src/globcomplete> svn commit -m initial-log-message
/home/julianfoad/src/subversion/subversion/clients/cmdline/main.c:885: (apr_err=205005)
svn: The log message is a pathname
svn: The log message is a pathname (was -F intended?); use `--force' to override.
- Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 10 01:53:34 2003