On Mon, 20 Jul 2009 10:51:02 +0200 jh granarolo <[email protected]> wrote:
> It seems there is indeed a reordering, now is this wanted or is this > a bug ? Yes, the fact that darcs rearranges the hunks, at least in presence of --xml, always surprised me! In particular, it always shows "moves" before anything else. > Here is what I get from 'darcs annotate -p 'patchname' ' : > > hunk ./META 1 > -description = "Tools for Ocsigen" > -version = "0.3.x" > -requires = "netstring" > -archive(byte) = "ocsimore.cma" > rmfile ./META > addfile ./META1 > move ./META1 ./META.in > addfile ./META2 > move ./META2 ./META2.in > > Now with 'darcs annotate --summary -p 'patchname' ': > > ./META1 -> ./META.in > ./META2 -> ./META2.in > R ./META > M ./META.in +4 > A ./META1 > A ./META2 > R ./META2.in Now that I know about "annotate -p", I'm tempted to redo the tailor/trac-darcs parsers reading from there instead of digesting the XML... ! Both of them implement a somewhat different logic to reorder the hunks in a sensible way... and sometime they don't get it right! ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. [email protected] | -- Fortunato Depero, 1929. _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
