Difference between revisions of "Subversion"
From Christoph's Personal Wiki
Line 47: | Line 47: | ||
*Typical "download" command: | *Typical "download" command: | ||
svn co <nowiki>https://pymmlib.svn.sourceforge.net/svnroot/pymmlib/trunk</nowiki> pymmlib | svn co <nowiki>https://pymmlib.svn.sourceforge.net/svnroot/pymmlib/trunk</nowiki> pymmlib | ||
+ | |||
+ | ==See also== | ||
+ | *[http://git.or.cz/ Git] — Fast Version Control System | ||
==External links== | ==External links== |
Revision as of 00:38, 15 September 2007
Subversion (SVN) is a version control system. It allows users to keep track of changes made over time to any type of electronic data. Typical uses are versioning source code, web pages or design documents.
The article will cover the Subversion command-line client (or just svn) for version >= 1.4.3.
Syntax
usage: svn <subcommand> [options] [args]
Type 'svn help <subcommand>' for help on a specific subcommand. Type 'svn --version' to see the program version and RA modules
or 'svn --version --quiet' to see just the version number.
Most subcommands take file and/or directory arguments, recursing on the directories. If no arguments are supplied to such a command, it recurses on the current directory (inclusive) by default.
Available subcommands
add blame (praise, annotate, ann) cat checkout (co) cleanup commit (ci) copy (cp) delete (del, remove, rm) diff (di) export help (?, h) import info list (ls) lock log merge mkdir move (mv, rename, ren) propdel (pdel, pd) propedit (pedit, pe) propget (pget, pg) proplist (plist, pl) propset (pset, ps) resolved revert status (stat, st) switch (sw) unlock update (up)
Examples
- Typical "download" command:
svn co https://pymmlib.svn.sourceforge.net/svnroot/pymmlib/trunk pymmlib
See also
- Git — Fast Version Control System