Re: Warn recent changes in files being deleted: does it make sense?

Thorsten Behrens <[email protected]> Tue, 6 Oct 2009 21:44:41 +0200
Newsgroups gmane.comp.openoffice.devel.tools
Message-ID <[email protected]>
Jens-Heiner Rechtien 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.
> 
Hi Heiner,

hm, why is there any heuristic needed? If, for a commit, a file
vanishes on one place in the tree and re-appears in another, it's a
move - and that's how git handles such cases; automagically. ;)

Cheers,

-- Thorsten
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFKy54p0atnB9QI2h8RAlXYAJ0en5QzWnUncCyiy+VefP3SZGxGUwCgiU93
tfrOrTgfOorOVm9aaolUFW8=
=PECc
-----END PGP SIGNATURE-----