[darcs-devel] [issue772] bug in get_extra commuting patch

Lele Gaifax bugs at darcs.net
Mon Mar 31 16:52:43 UTC 2008



On Mon, 31 Mar 2008 15:38:35 -0000
David Roundy <bugs at darcs.net> wrote:

> 
> 
> So the problem is that you've got two changes with identical names
> (and dates, etc) that describe different changes:
> 
>  Sat Sep 25 14:01:03 PDT 2004  lele
>    * Rudimentale indice degli script
> 
> If you fix tailor to generate unique ids for patches, that would fix
> this.
> 
> This is a duplicate of issue27.  It's debatable whether this is a bug
> in darcs or a bug in tailor.  Zooko would argue, I'm sure, that darcs
> shouldn't give you the power to shoot yourself in the foot.  I tend
> to disagree.  I consider it an feature that you (as the author of
> tailor) can precisely specify the patch ID of patches you're
> converting.  Anyhow, an easy fix (what Zooko wants us to do in darcs)
> is to add a bit of garbage into the long message of each patch.  If
> you prefix this garbage with something reasonable, we may even add a
> feature to hide that garbage from our users.

Thank you David,

And I now understand better how issue27 born :)

So, once you know what the problem is, it's very easy to install a
workaround in tailor, just changing the "patch-name-format" option.

Is there any way for darcs to be more precise in its error message?
Could it diagnose that duplicate id is the reason behind?

thank you again,
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.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue772>
__________________________________


More information about the darcs-devel mailing list