Usage of Svk
Initialization
- $ svk depotmap --init
Mirroring from Remote Repository
- $ svk mirror //mirror/foo svn://bar.sample.org/svn/foo
- $ svk sync //mirror/foo
- $ svk cp -p //mirror/foo //work/foo
You SHOULD commit to the local branch, "//work/foo",
and synchronizes with svk's push and pull commands.
Check out
- $ svk co //work/foo foo
Synchronization from local depot to remote repository
- $ svk sync //mirror/foo
Synchrosization from local mirror to local branch
- $ svk pull //work/foo
Synchronization from local branch to local mirror and remote repository
- $ svk push --verbatim //foo
If the option "lump" exists, the commitment deals with revisions in the local depot as a revision in the remote repository.
Tips -- svk with TortoiseSVN
svk makes local depots at following path in Windows by default;C:/Documents and Settings/user/.svk/local/You can check out a working copy from the path with TortoiseSVN without svk's check out.
For example, this URL is "file:///C:/Documents and Settings/user/.svk/local".
No comments:
Post a Comment