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

"svn import -m filename" gives no warning

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-04-10 01:58:35 CEST

"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.


~/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

~/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

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.