[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: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-06-01 21:55:13 CEST

----- Original Message -----
From: "Gale, David" <David.Gale@Hypertherm.com>
To: "John Rouillard" <rouilj@renesys.com>; <users@subversion.tigris.org>
Sent: Thursday, June 01, 2006 1:49 PM
Subject: RE: Trying to emulate moving tags under CVS and update working copy
to that tag.

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...

It does. It doesn't do *directories* the same way: "cp" or "copy" operations
have always been a bit of an adventure, in just about every system.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 1 21:56:42 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.