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

Minor correction to The Definitive Guide "commit" entry

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-02-03 01:43:15 CET

In chapter 8 the book says:

> Note that if you want to use a files that's under version control for your commit message with --file, you need to pass the --force switch:
>
> $ svn commit -F file_under_vc.txt foo.c
> Sending foo.c
> Transmitting file data .
> Committed revision 6.

Obviously (I think) that command should have "--force" in it:

> $ svn commit --force -F file_under_vc.txt foo.c

Patch attached.

- Julian

Index: doc/book/book/ch08.xml
===================================================================
--- doc/book/book/ch08.xml (revision 4704)
+++ doc/book/book/ch08.xml (working copy)
@@ -779,7 +779,7 @@
               <option>--force</option> switch:</para>
 
             <screen>
-$ svn commit -F file_under_vc.txt foo.c
+$ svn commit --force -F file_under_vc.txt foo.c
 Sending foo.c
 Transmitting file data .
 Committed revision 6.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 3 01:40:43 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.