Adding comments to groups of changes?

Arne Babenhauserheide arne_bab at web.de
Mon Jun 30 02:40:56 CDT 2008


Hi Sean, 

The groups already get merged, pulled, pushed, etc. since they are simply 
implemented as commits of the .hggroups file and are read out using hg 
annotate, so everything which pulls changes to files and the history will 
also pull groups. 

For update it would be nice to have Mercurial update to the most recent 
revision inside the group instead of to teh groups revision, though, since 
the group might be added later, and so updating to it might not always give 
the real work doen for it. 

Maybe this could more easily be done by first updating to the most current 
revision inside the group before adding the group, to make the group commit a 
child of the most recent revision in the group, so no changes to update would 
be necessary. 

But please mind the status of the code: I did this as a proof of concept. 
While I hope that the concept is good enough that I won't have to change it 
(and using it will, at the very worst, put very small changesets into your 
history which might become useless, if the concept proves flawed), there's 
always the chance that I overlooked some glaring error. 

And the log command which overwrites the default log only offers basic usage 
at the moment. 

Best wishes, 
Arne


Am Sonntag 29 Juni 2008 12:04:04 schrieben Sie:
> On Friday 27 June 2008 08:37:38 pm Arne Babenhauserheide wrote:
> > After discussing with piranha and others in #mercurial @
> > irc.freenode.net, I changed and implemented the concept.
> >
> > It is far from clean, and my sourcefiles have gathered quite a lot of
> > working comments, but it works.
>
> Arne, this is great stuff; thanks for doing this.  Have you thought about
> adding support for your groups to merge, pull, push, bundle and the like?
>
> --- SER



-- 
Unpolitisch sein
Heißt politisch sein
Ohne es zu merken. 
- Arne Babenhauserheide ( http://draketo.de )

-- 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

-- Mein öffentlicher Schlüssel (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/20080630/b0dd39a8/attachment.pgp 


More information about the Mercurial mailing list