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

RE: Total beginner question

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-04-08 22:10:22 CEST

> From: Mary Felkin [mailto:Mary.Felkin@lri.fr]
> Excuse me please, when I do :
> svn add help.txt
> I get :
> svn: warning: 'help.txt' is already under version control

That message means (in this case) that you've already added help.txt (in
this working copy), so you can't add it again. If you do "sip status" (sip
status is your friend!), you will see something like this:

A help.txt

Which means that help.txt has been added in the WC, but that addition has
not been committed to the repository.

> but when I then do :
> svn commit help.txt
> I get :
> --This line, and those below, will be ignored--
> A help.txt
> ~

"svn commit" needs a description for the change to the repository. You can
specify the text of the description with "-m 'This is the description.'" or
you can put the description in a file, and say "-F foo/bar/file-name". But
if you do neither, svn tries to run your favorite editor for you. Usually
in a Unix environment, your "favorite editor" is the program named in the
environment variable $VISUAL, or if that fails, $EDITOR. Only after you
have successfully exited the editor, does svn do the commit operation.

In your case, the editor is "vi". If you don't know how to use vi, you
should talk to your system administrator to see what to do. In the mean
time, use -m or -F.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 8 22:15:26 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.