You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Julian Foad <ju...@btopenworld.com> on 2003/04/09 23:58:35 UTC
"svn import -m filename" gives no warning
"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
Re: "svn import -m filename" gives no warning
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On Wednesday, April 9, 2003, at 07:58 PM, Julian Foad wrote:
> "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.
i'll fix that now.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org