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

Re: commit with log

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2002-02-08 23:08:37 CET

> Hello
> I dont know why but i can't write log when i commit my files. I just try
> like CVS:
> svn commit files.php "my log message"
> I received some weird error message. How i can commit my files with a log
> messages?

Well, you need to put a -m before the message string. Read the help on commit:

pantheon: ~>svn help commit
commit (ci): Send changes from your working copy to the repository.
usage: svn commit [TARGETS]

   Be sure to use one of -m or -F to send a log message;
   the -r switch is only for use with --xml-file.

Valid options:
  -m [--message] arg: specify commit message "ARG"
  -F [--file] arg: read data from file ARG
  -q [--quiet]: print as little as possible
  --force: force operation to run
  --username arg: specify a username ARG
  --password arg: specify a password ARG
  --xml-file arg: read/write xml to specified file ARG
  -r [--revision] arg: specify revision number ARG (or X:Y range)

So you should do

$ svn commit files.pip -m "my log message"


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:05 2006

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.