Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 567 #593
i
i
i
i
i
i
i
i
23
File Synchronization
23.5.2 Usage and Operation
Use the command svn (similar to cvs) to access a subversion repository.
The content provided by a correctly configured server fitted with a corre-
sponding repository can be accessed by any client with the following com-
mand:
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 com-
mand svn checkout:
svn checkout http://svn.example.com/path/to/project nameofproject
Checking out creates a new subdirectory nameofproject/ on the client.
Operation (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 addition-
ally record properties of a file or directory:
svn propset license GPL foo.txt
The preceding example sets the value GPL for the property license. Dis-
play properties with svn proplist:
svn proplist --verbose foo.txt
Properties on ’foo.txt’:
license : GPL
567
SUSE LINUX Enterprise Server