[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: how to make a previous repository version the actual one?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-02-03 02:25:34 CET

On Feb 2, 2005, at 12:30 PM, Dale Worley wrote:
> # Delete all the files and directories from HEAD
> svn delete http://repository/root
> # Copy revision REV into HEAD.
> svn copy -r REV http://repository/root http://repository/root

This won't work. 'svn copy' doesn't overwrite directories. Like the
Unix 'cp' command, it creates a new directory underneath the target
directory when the target directory already exists. So in your example
above, you'd end up with http://repository/root/root.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 3 02:28:45 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.