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

Re: committing a rename with a delta editor

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2006-04-05 15:58:59 CEST

Geoff Richards wrote:
> Hi,
>
> I'm trying to commit a 'rename' (delete and copy) using a commit
> editor, and I've got a few questions about how to do this:
>
> * Does it make any difference whether I delete the old file first,
> before adding a copy of it from the last revision, or add the
> copy first?

Nope. Copy sources always come from immutable locations (previous
revisions), and those (by definition) can't be deleted. You can do these
operations in either order (copy+delete, delete+copy).

> * It doesn't seem to make any difference whether the paths I use
> to add or open files and directories start with a slash or not.
> Is there any reason I should or should not use '/trunk/blah' instead
> of 'trunk/blah'?

Doesn't matter a bit.

> * What form should the copyfrom_path value take? In the docs it
> just says that it should be a path, but it seems to require a
> full URL. When I try with just a path I get this:

Looking at the code, I agree that it seems that the commit editors require a
URL.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Wed Apr 5 16:01:17 2006

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

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