Adding comments to groups of changes - hg update group now works.

Arne Babenhauserheide arne_bab at web.de
Tue Jul 1 02:37:08 CDT 2008


I just updated the code to always create a group as child of the most recent 
revision inside the group, so updating to the group should now give the 
actual code. 

Besides: The group repository naturally uses groups, but there are quite many 
testing groups in it which I removed from .hggroups but which live on as 
changesets, since I relentlessly used the repository itself to test my code. 

If you activate the group extension, you'll see all changes as only once 
single group: 

$ hg log
------ ------ ------ ------ ------ ------ 
changeset:   86:14356075546c
tag:         tip
user:        Arne Babenhauserheide <bab at draketo.de>
date:        Tue Jul 01 09:20:53 2008 +0200
summary:     Added group: Correct group creation added
------ ------ ------ ------ ------ ------ 

Detailed: 
$ hg log -v 
------ ------ ------ ------ ------ ------ 
changeset:   86:14356075546c
tag:         tip
user:        Arne Babenhauserheide <bab at draketo.de>
date:        Tue Jul 01 09:20:53 2008 +0200
files:       .hggroups
description:
Added group: Correct group creation added

A group gets added as child of the most recent revision inside the group, so 
updating to the group gives the right code).

This makes merging necessary for almost every group creation, which could be 
solved by a proposed improved merge algorithm: 
http://www.selenic.com/mercurial/bts/issue594
------ ------ ------ ------ ------ ------ 

http://freehg.org/u/ArneBab/hgext_group/

Sadly the (for me) natural behaviour enforces merging on almost every group 
creation, since the .hggroups file now gets changed from the last changed 

Best wishes, 
Arne
-------------- 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/43a09317/attachment.pgp 


More information about the Mercurial mailing list