Newbie question
Arne Babenhauserheide
arne_bab at web.de
Tue Feb 3 01:23:24 CST 2009
Am Dienstag 03 Februar 2009 03:54:32 schrieb Doug Philips:
> Maybe. Also not sure what the group commit would look like to someone
> who didn't have the extension enabled (say, the hgwebdir view of the
> repo, etc.)
A group is just a regular commit, so it is present as normal commit to the
.hggroups file for someone who doesn't have the group extension.
The commit is an ancestor to the most recent revision in the group (as long as
you create the group using the group extension), so updating to the group
gives you the code of the grouped files, regardless of whether you have the
group extension enabled or disabled.
But to integrate it with bisect, we'd have to make bisect group-aware.
> groups are an interesting idea, but the problem with extensions is
> that you can't force them across the wire, and since .hgrc creation is
> so paranoid, you can't even keep them across local clones (this is
> related to losing all your policy hooks on a local clone too).
Groups don't need to be forced. They are meant to make history nicer to read,
and if someone doesn't use the group extension, then his history will be less
nice to read, but he doesn't lose any information. He can still read the
.hggroups file himself.
Why don't you write a "propagate hgrc" extension? You'd only have to overwrite
the clone command.
Besides: The group extension sidesteps the "can't point to yourself" issue by
using annotation of the lines in the .hggroups file. This has the drawback
that changing the .hggroups file by hand changes the descriptions of the
changed groups to your commit message (along with all other changeset data).
This could be used for tags, but it would mean, that editing tags by hand
would destroy the tagging information.
Best wishes,
Arne
--
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the
history of free software.
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
-- 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/20090203/04920588/attachment.pgp
More information about the Mercurial
mailing list