(在命令行下經過 svn help xxx 來查看xxx命令的文檔)html
Put files and directories under version control, scheduling them for addition to repository. They will be added in next commit.svn
usage: add PATH...this
Output the content of specified files or URLs with revision and author information in-line.spa
usage: blame TARGET[@REV]...命令行
If specified, REV determines in which revision the target is first loogked up.orm
Output the content of specified files or URLs.htm
usage: cat TARGET[@REV]...blog
Associate (or dissociate) changelist CLNAME with the named files.
usage: 1. changelist CLNAME PATH...
2. changelist --remove PATH...ci
Check out a working copy from a repository.rem
usage: checkout URL[@REV]... [PATH]
If specified, REV determines in which revision the URL is first looked up.
Recursively clean up the working copy, removing write locks, resuming unfinished operations, etc.
usage: cleanup [WCPATH...]
Send changes from your working copy to the repository.
usage: commit [PATH...]
Copy files and directories in a working copy or repository.
usage: copy SRC[@REV]... DST
Remove files and directories from version control.
usage: 1. delete PATH...
2. delete URL...
Display local changes or differences between two revisions or paths.
usage: 1. diff
2. diff [-c M | -r N[:M]] [TARGET[@REV]...]
3. diff [-r N[:M]] --old=OLD-TGT[@OLDREV] [--new=NEW-TGT[@NEWREV]] [PATH...]
4. diff OLD-URL[@OLDREV] NEW-URL[@NEWREV]
5. diff OLD-URL[@OLDREV] NEW-PATH[@NEWREV]
6. diff OLD-PATH[@OLDREV] NEW-URL[@NEWREV]
Create an unversioned copy of a tree.
usage: 1. export [-r REV] URL[@PEGREV] [PATH]
2. export [-r REV] PATH1[@PEGREV] [PATH2]
Describe the usage of this program or its subcommands.
usage: help [SUBCOMMAND...]
Commit an unversioned file or tree into the repository.
usage: import [PATH] URL
Display information about a local or remote item.
usage: info [TARGET[@REV]...]
List directory entries in the repository.
usage: list [TARGET[@REV]...]
Lock working copy paths or URLs in the repository, so that no other user can commit changes to them.
usage: lock TARGET...
Show the log messages for a set of revision(s) and/or path(s).
usage: 1. log [PATH][@REV]
2. log URL[@REV] [PATH...]
Merge changes into a working copy.
usage: 1. merge SOURCE[@REV] [TARGET_WCPATH] (the 'complete' merge)
2. merge [-c M[,N...] | -r N:M ...] SOURCE[@REV] [TARGET_WCPATH] (the 'cherry-pick' merge)
3. merge SOURCE1[@REV1] SOURCE2[@REV2] [TARGET_WCPATH] (the '2-URL' merge)
Display merge-related information.
usage: 1. mergeinfo SOURCE[@REV] [TARGET[@REV]]
2. mergeinfo --show-revs=WHICH SOURCE[@REV] [TARGET[@REV]]
Create a new directory under version control.
usage: 1. mkdir PATH...
2. mkdir URL...
Move (rename) an item in a working copy or repository.
usage: move SRC... DST
Apply a patch to a working copy.
usage: patch PATCHFILE [WCPATH]
參考:巧用svn create patch(打補丁)方案解決定製版需求
Remove a property from files, dirs, or revisions.
usage: 1. propdel PROPNAME [PATH...]
2. propdel PROPNAME --revprop -r REV [TARGET]
Edit a property with an external editor.
usage: 1. propedit PROPNAME TARGET...
2. propedit PROPNAME --revprop -r REV [TARGET]
Print the value of a property on files, dirs, or revisions.
usage: 1. propget PROPNAME [TARGET[@REV]...]
2. propget PROPNAME --revprop -r REV [TARGET]
List all properties on files, dirs, or revisions.
usage: 1. proplist [TARGET[@REV]...]
2. proplist --revprop -r REV [TARGET]
Set the value of a property on files, dirs, or revisions.
usage: 1. propset PROPNAME PROPVAL PATH...
2. propset PROPNAME --revprop -r REV PROPVAL [TARGET]
Relocate the working copy to point to a different repository root URL.
usage: 1. relocate FROM-PREFIX TO-PREFIX [PATH...]
2. relocate TO-URL [PATH]
Resolve conflicts on working copy files or directories.
usage: resolve [PATH...]
Remove 'conflicted' state on working copy files or directories.
usage: resolved PATH...
Restore pristine working copy state (undo local changes).
usage: revert PATH...
Print the status of working copy files and directories.
usage: status [PATH...]
Update the working copy to a different URL within the same repository.
usage: 1. switch URL[@PEGREV] [PATH]
2. switch --relocate FROM-PREFIX TO-PREFIX [PATH...]
Unlock working copy paths or URLs.
usage: unlock TARGET...
Bring changes from the repository into the working copy.
usage: update [PATH...]
Upgrade the metadata storage format for a working copy.
usage: upgrade [WCPATH...]