Moving to SubVersion

Cornelius Schumacher schumacher at kde.org
Sun Oct 10 09:49:22 BST 2004


On Sunday 10 October 2004 09:33, Stephan Kulow wrote:
> Am Sonntag 10 Oktober 2004 08:44 schrieb Simon Hausmann:
> > svn diff -r<oldrevision>:<newrevision> --old
> > /svn/path/to/file/before/rename --new
> > /svn/path/to/file/as/it/is/called/now
>
> Hmm. You need to remind svn from what it moved? Where is the
> advantage then?

I now tried it. With subversion-1.1 you actually don't seem to need the 
old path. A "svn diff -r:<oldrevision>:<newrevision> /new/name" works 
as expected even if the oldrevision is before a move.

I still haven't figured out how to revert a move, though. There doesn't 
seem to be an equivalent of "cvs up -j" taking into account file moves.

-- 
Cornelius Schumacher <schumacher at kde.org>




More information about the kde-core-devel mailing list