Re: [tools-dev] Warn recent changes in files being deleted: does it make sense?

2009-10-12 Thread Jens-Heiner Rechtien
Hi Ian, Ian Clatworthy wrote: Jens-Heiner Rechtien wrote: Sure, but there is no need to rely on heuristics where none is needed. Heuristics are good enough in many cases. Metadata + heuristics is better though. Back to the original use case which triggered this thread. If you do rename of

Re: [tools-dev] Warn recent changes in files being deleted: does it make sense?

2009-10-08 Thread Stephan Bergmann
On 10/06/09 14:02, Jens-Heiner Rechtien wrote: 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. *Everything* an SCM does when it

Re: [tools-dev] Warn recent changes in files being deleted: does it make sense?

2009-10-08 Thread Jens-Heiner Rechtien
Hi Stephan, Stephan Bergmann wrote: On 10/06/09 14:02, Jens-Heiner Rechtien wrote: 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

Re: [tools-dev] Warn recent changes in files being deleted: does it make sense?

2009-10-07 Thread Kohei Yoshida
On Wed, 2009-10-07 at 00:15 +0200, Jens-Heiner Rechtien wrote: Hi, AFAIK the heuristic works only if the hash over the file is the same. A slight change, for instance adapting the name of the file in the license header (however stupid such a thing might be) will spoil the heuristic, I

Re: [tools-dev] Warn recent changes in files being deleted: does it make sense?

2009-10-06 Thread Bernd Eilers
Jens-Heiner Rechtien wrote: Hi, Hi, the good news that hg (as well as the other DSCMs) is able to detect these cases and do the right thing. Things should improve here RSN. Does it really detect these cases or does that only work when hg rename was being used. If I would have used only

Re: [tools-dev] Warn recent changes in files being deleted: does it make sense?

2009-10-06 Thread Jan Holesovsky
Hi Heiner, On Tuesday 06 October 2009, 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

Re: [tools-dev] Warn recent changes in files being deleted: does it make sense?

2009-10-05 Thread Caolán McNamara
On Sat, 2009-10-03 at 09:31 +0900, Takashi Ono wrote: Hi all, I think if there exist recent changes in files being deleted in a integration of a cws, they should be automatically warned to RE. Is it considered in the standard of procedures? The background is i#105542. The file

Re: [tools-dev] Warn recent changes in files being deleted: does it make sense?

2009-10-05 Thread Jens-Heiner Rechtien
Hi, the good news that hg (as well as the other DSCMs) is able to detect these cases and do the right thing. Things should improve here RSN. Regards, Heiner Caolán McNamara wrote: On Sat, 2009-10-03 at 09:31 +0900, Takashi Ono wrote: Hi all, I think if there exist recent changes in files

[tools-dev] Warn recent changes in files being deleted: does it make sense?

2009-10-02 Thread Takashi Ono
Hi all, I think if there exist recent changes in files being deleted in a integration of a cws, they should be automatically warned to RE. Is it considered in the standard of procedures? The background is i#105542. The file solenv/inc/wntgcci6.mk is deleted and added with a new name