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

Feature request - rename after move/copy

From: Gavin Lambert <tsvn_at_mirality.co.nz>
Date: 2006-07-06 03:39:48 CEST

Imagine this scenario:

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

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jul 6 03:45:18 2006

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

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