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

Re: Feature request - rename after move/copy

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2006-07-07 00:48:06 CEST

Gavin Lambert wrote:
> Imagine this scenario:
> /trunk/folder1/
> /trunk/folder1/fileA
> /trunk/folder2/
>
> Now I right-click drag fileA over to folder2, selecting "SVN Move
> Versioned Files".
>
> That's all well and good.
>
> After some more development (without committing from the move, because
> things are still not in a good commit state), I decide that it's a good
> idea to rename fileA to fileB, since its function has changed.
>
> TSVN doesn't provide that option, unfortunately.
>
> It's certainly possible to do, since I've managed to do an
> after-the-fact rename (without losing any history) through manual edits
> of the files in the .svn folder, but that's not much fun.
>
> If you know you're planning on renaming the file, then you can do it at
> the time of the move through a SVN Copy & Rename, SVN Delete combo
> (which is a bit kludgy but otherwise ok), but there really ought to be a
> way to rename the file after the fact. It's a purely local operation,
> after all; there's no need to go to the server because it's still just
> in an "add with history" state.
>
> (Actually, this is probably a symptom of something more fundamental; I
> ought to be able to Rename a file in the "added" state as well, but it
> won't let me do that either.)

Can you do that with the command line interface? If so TSVN should be
able to do it. If the CLI can't then you need to raise this on the
subversion list instead. Sorry, I don't have the right version installed
at the moment to try this myself.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Jul 7 00:47:33 2006

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