Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 04-08-2006 Installation Manual page 742

Table of Contents

Advertisement

40.5.2 Usage and Operation
Use the command svn (similar to cvs) to access a Subversion repository. With
svn help, obtain the description of a parameter of a command:
checkout (co): Check out a working copy from a repository.
usage: checkout URL[@REV]... [PATH]
If specified, REV determines in which revision the URL is first
looked up.
If PATH is omitted, the basename of the URL will be used as
the destination. If multiple URLs are given each will be checked
out into a sub-directory of PATH, with the name of the sub-directory
being the basename of the URL.
...
The content provided by a correctly configured server fitted with a corresponding
repository can be accessed by any client with one of the following commands:
svn list http://svn.example.com/path/to/project
or
svn list svn://svn.example.com/path/to/project
Save an existing project in the current directory (check it out) with the command
svn checkout:
svn checkout http://svn.example.com/path/to/project nameofproject
Checking out creates a new subdirectory nameofproject on the client. Operations
(adding, copying, renaming, deleting) can then be performed on it:
svn add file
svn copy oldfile newfile
svn move oldfile newfile
svn delete file
These commands can also be used on directories. Subversion can additionally record
properties of a file or directory:
svn propset license GPL foo.txt
The preceding example sets the value GPL for the property license. Display properties
with svn proplist:
742
Installation and Administration

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents