
delete | 857
Subversion
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
--no-auth-cache
--non-interactive
--password pass
--quiet (-q)
--revision rev, -r rev
--username user
Examples
Copy an item within your working copy (just schedules the copy;
nothing goes into the repository until you commit):
$ svn copy foo.txt bar.txt
A bar.txt
$ svn status
A + bar.txt
Copy an item from the repository to your working copy (just
schedules the copy; nothing goes into the repository until you
commit):
This is the recommended way to resurrect a dead file in
your repository!
$ svn copy file:///tmp/repos/test/far-away near-here
A near-here
And finally, copying between two URLs:
$ svn copy file:///tmp/repos/test/far-away \
> file:///tmp/repos/test/over-there -m "remote copy."
Committed revision 9.
This is the easiest way to tag a revision in your reposi-
tory; just svn copy that revision (usually HEAD) into
your tags directory.
$ svn copy file:///tmp/repos/test/trunk \
> file:///tmp/repos/test/tags/0.6.32-prerelease \
> -m "tag tree"
Committed revision 12.
delete
svn delete path ...
svn delete URL ...
Items specified by path are scheduled for deletion upon the next
commit. Files (and directories that have not been committed) are
immediately removed from the working copy. The command will
not remove any unversioned or modified items; use the --force
option to override this ...