September 2009
Beginner
942 pages
85h 34m
English
checkout
svn checkoutURL... [path]
Check out a working copy from a repository. If path is omitted, the basename of the URL is used as the destination. If multiple URLs are given, each one is checked out into a subdirectory of path, with the name of the subdirectory being the basename of the URL.
Alternate names: co
Changes: creates a working copy
Accesses repository: yes
| --depth arg |
| --force |
| --ignore-externals |
| --quiet (-q) |
| --revision rev, -r rev |
Check out a working copy into a directory called mine:
$svn checkout file:///tmp/repos/test mineA mine/a A mine/b Checked out revision 2. $lsmine
If you interrupt a checkout (or something else interrupts your checkout, such as loss of connectivity, etc.), you can restart it either by issuing the identical checkout command again or by updating the incomplete working copy:
$svn checkout file:///tmp/repos/test testA test/a A test/b ^C svn: The operation was interrupted svn: caught SIGINT $svn checkout file:///tmp/repos/test testA test/c A test/d ^C svn: The operation was interrupted svn: caught SIGINT $cd test$svn updateA test/e A test/f Updated to revision 3.