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

Re: Proposal: Genuine renames/moves within the WC.

From: Folker Schamel <schamel23_at_spinor.com>
Date: 2005-01-11 01:59:02 CET

kfogel@collab.net wrote:
>>However, entries with the 'moved' attribute *should* be allowed to move
>>again, so that this:
>>
>> # [case 2]
>> $ svn mv a b
>> $ svn mv b c
>>
>>should be no different from this:
>>
>> # [case 3]
>> $ svn mv a c
>
>
> This may be ovekill...

I don't think so.

Suppose you want to rename foo/foo.cpp -> tau/tau.cpp.
(I have this situation again and again due to refactoring.)

For this, today you have to
1) open a windows command shell (Tortoise doesn't support step 4),
2) copy foo/ to /tau
3) delete tau/foo.cpp
4) move (including rename) foo/foo.cpp to tau/tau.cpp
5) delete foo/
6) close the command shell again.

Does someone know an easier way?
This would be cool!

(Using two steps with committing in-between is not possible
because then I would have to adjust the content of several
h/cpp files twice.)

How nice would be be to simply use the Tortoise,
1) rename foo/ -> tau/
2) rename foo.cpp -> tau.cpp
(total: 2*3 mouse clicks and typing each new name exactly once.)

If move != copy + delete, then the above long way
is not possible at all anymore.
What can I do then?????

Cheers,
Folker

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 11 02:00:17 2005

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.