
848
|
Chapter 14: The Subversion Version Control System
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
+ printf("%s\n", message);
return 0;
}
Index: Makefile
=================================================================
==
--- Makefile (revision 1)
+++ Makefile (working copy)
@@ -1,2 +1,2 @@
-hello: hello.c
- $(CC) -O $< -o $@
+hello: hello.o message.o
+ $(CC) -O hello.o message.o -o $@
Index: message.c
=================================================================
==
--- message.c (revision 0)
+++ message.c (revision 2)
@@ -0,0 +1 @@
+const char message[ ] = "hello, world!";
The Subversion Command Line Client: svn
The syntax for the Subversion command line client, svn, is:
svn [options] subcommand [arguments]
The options and subcommand may be provided in any order.
svn Options
While Subversion has different options for its subcommands, all options are
global—that is, each option is guaranteed to mean the same thing regardless of
the subcommand you use it with. For example, --verbose (-v) always means
verbose output, regardless of the subcommand you use it with.
--auto-props
Enable auto-props, overriding the enable-auto-props directive in the config
file.
--config-dir dir
Read configuration information from the specified directory instead of the
default location (.subversion in the user’s home directory).
--diff-cmd cmd
Use cmd as the external ...