[darcs-users] patch numbers and annotate and diff etc.
Ralph Corderoy
ralph at inputplus.co.uk
Wed Apr 6 16:40:05 UTC 2005
Hi David,
> This is meant to be sort of a combined reply to the threads on diffing
> and annotate format, from which I'll briefly summarize interesting
> points. ...
>
> Which leads quite nicely into the fourth (or third, depending how you
> count...) scheme, which is monotonically increasing local patch
> numbers, which remain fixed for a patches lifetime. This means we'd
> have to keep track of the patch numbers, since when we
> unpull/unrecord/amend a patch it'll leave a gap in the numbering
> scheme. This has the advantage that the numbers will remain fixed, so
> you can just remember that it was "patch number 137" that you were
> worrying about. On the downside, that could lead to confusion if
> users make the mistake of thinking that these permanent numbers are
> also global--this is probably not an issue with decent flag
> descriptions, but it's an issue that doesn't exist in the previous
> scheme.
I'm in favour of a simple, repo-local, number to identify a point in the
repo's state. Could your suggestion above be considered as similar to
an implicit `tag' at each point? Also, would a repo's definition of the
numbers be visible to others so my local 137 was visible to you as
http://...137.
Cheers,
Ralph.
More information about the darcs-users
mailing list