
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
196
|
Chapter 9: Subversion Complete Reference
Description
Recursively cleans up the working copy, removing locks and resuming unfinished opera-
tions. If you ever get a working copy locked error, run this command to remove stale locks
and get your working copy into a usable state again. See Appendix B.
If, for some reason, an
svn update fails due to a problem running an external diff program
(e.g., user input or network failure), pass the
--diff3-cmd to allow cleanup to complete any
merging with your external diff program. You can also specify any configuration directory
with the
--config-dir switch, but you should need these switches extremely infrequently.
Alternate Names
None
Changes
Working copy
Accesses Repository
No
Switches
--diff3-cmd CMD
--config-dir DIR
Examples
Well, there’s not much to the examples here, as svn cleanup generates no output. If you
pass no PATH, . is used:
$ svn cleanup
$ svn cleanup /path/to/working-copy
svn commit
Sends changes from your working copy to the repository.
Synopsis
svn commit [PATH...]
Description
Sends changes from your working copy to the repository. If you do not supply a log
message with your commit by using either the
--file or --message switch, svn will launch
your editor for you to compose a commit message. See the
editor-cmd section in “Config”
in Chapter ...