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

RE: Trying to emulate moving tags under CVS and update working copy to that tag.

From: Gale, David <David.Gale_at_Hypertherm.com>
Date: 2006-06-01 19:49:14 CEST

John Rouillard wrote:
> now what I want to do is:
>
> svn copy
> .../svnrepo/work/users/sudoers@544
> .../svnrepo/production/users/sudoers
>
> but this generates an error:
>
> svn: Path 'production/users/sudoers' already exists

I don't have a full answer for you, but you could conceivably fix this
by doing a two-step:

svn rm .../svnrepo/production/users/sudoers
svn copy .../svnrepo/work/users/sudoers@544
.../svnrepo/production/users/sudoers

On the whole, though, it does seem like subversion ought to support the
replacement of a file by moving/copying another file on top of it,
without requiring the rm command (and the extra revision), which would
allow you to do exactly what you're asking for...

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 1 19:50:48 2006

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.