Re: Warn recent changes in files being deleted: does it make sense?
bjoern michaelsen - Sun Microsystems - Hamburg Germany <[email protected]> Tue, 6 Oct 2009 14:49:44 +0200
| Newsgroups | gmane.comp.openoffice.devel.tools |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <20091006144944.05e7431e@x42-so34> |
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). BR, Bjoern -- =========================================================================== Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht Muenchen: HRB 161028 Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel Vorsitzender des Aufsichtsrates: Martin Haering ===========================================================================