Adding comments to groups of changes?
Arne Babenhauserheide
arne_bab at web.de
Tue Jul 1 04:01:55 CDT 2008
Hi Benoît,
I already got into coding on Friday (got into discussion on IRC), so there's
already a version you can test (I posted it on the mailinglist).
Am Dienstag 01 Juli 2008 10:15:24 schrieb Benoît Allard:
> informations in something like .hg/groups/ and using the informations
> returned by the log function, comparing with he known grouped changesets
> and modifying the return value of log that way.
I decided to create a versioned .hggroups file, now, just like the .hgtags
file.
Additionally each group is associated with a changeset, which contains its
description.
Groups should be changeable without losing their information, so the
changeable part is the .hggroups file (one group per line, including all
included revisions), the information part are the group revisions which
contain the description, and can be used to go back to the point where the
group was defined and look at its revisions that way.
> What about having group having only one parent, but multiple childs ?
> Then, you would just group concurrent revisions, and won't be bothered
> about people forking from revision you grouped ...
I'd have the problems of revisions leading to the group, for example I
couldn't group merged changesets.
> As I can see, this repo is quite active :) .... I'll have a look at it
> soon ...
If you install the extension, you'll see the information quite a bit leaner :)
I put it all into one group, after I finished fixing up the code to create the
groups properly (as child revision of the most recent revision inside the
group), so "hg update group" gets you to the correct code.
Best wishes,
And thanks for the feedback!
Arne
--
-- Weblog: http://blog.draketo.de
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the
history of free software.
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln
-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20080701/15a8d1b5/attachment.pgp
More information about the Mercurial
mailing list