[darcs-devel] [issue642] Automatic detection of file renames

Lele Gaifax lele at nautilus.homeip.net
Mon Feb 4 15:21:55 UTC 2008


On Sun, 03 Feb 2008 23:31:08 -0000
gabriele renzi <bugs at darcs.net> wrote:

> It would be nice if darcs, at record time, could look for renames
> (possibly as a command line option, on the lines of --look-for-adds).
> If file FOO is missing but there are new files BAR and BAZ and one of
> those has the same content of a missing file darcs could suggest
> including it in the patch and thus recording a single `move` patch
> instead of rmfile+addfile+content.

Given that a svn rename may be effectively a rename+edit, I doubt
there's a [simple] heuristic that could help here. Isn't what you are
seeking better handled by tools like tailor?

ciao, lele.
-- 
nickname: Lele Gaifax    | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas    | comincerò ad aver paura di chi mi copia.
lele at nautilus.homeip.net |                 -- Fortunato Depero, 1929.


More information about the darcs-devel mailing list