Hi Heiner, bjoern michaelsen - Sun Microsystems - Hamburg Germany wrote: > On Tue, 06 Oct 2009 14:02:58 +0200 > Jens-Heiner Rechtien <[email protected]> wrote: >>> Does it really "detect" these cases or does that only work when "hg >>> rename" was being used. If I would have used only filesystem >>> commands to rename files would hg recognize that? >> How should any SCM detect filesystem only renames? This is just asked >> to much. You have to use "hg rename", of course. Anything else would >> have to rely on heuristics which might fail, hardly something a SCM >> can do. > Just as a sidenote: Its possible to "mercurify" filesystem only > renames with "hg addremove". While it relies on heuristics, it helps in > those "Ooops, I already moved it with $SOMETOOL"-situations. It was > even able to detect most of the moves of files between milestones on a > filesystem basis when I used a local mercurial repo over my svn > cws (before the pilot).
Yeah, but I would hate if people would rely on "addremove" doing the right thing without further thinking a bit about what they are doing in our project. Björn, you are spoiling my didactic efforts! :-) Regards, Heiner --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
