[darcs-users] -p behaves inconsistently
Alan Bram
alan.bram at oracle.com
Sat Nov 4 18:11:21 UTC 2006
> I doubt it, in general. The canonical example is the one given in the
> Darcs manual (IIRC) where two patches each add one element to an enum
> in a way that doesn't conflict, and then add
>
> + #define ENUM_ELEMENT_COUNT 11
>
> (why they both decided to introduce the count at the same time, I
> don't know---some kind of command from the benevolent dictator, I
> suppose).
No, no. They're not adding a new element count, they're updating an
*existing* symbol.
,---
| If you think this is wrong, think about two different patches each
| adding a new keyword and also changing the line ``#define
| NUM_OF_KEYWORDS 17'' to ``#define NUM_OF_KEYWORDS 18''.
`---
Cheers,
- arb
More information about the darcs-users
mailing list