The 1.7 freeze has started!
Thomas Arendsen Hein
thomas at intevation.de
Thu Oct 21 08:43:54 CDT 2010
* Martin Geisler <mg at aragost.com> [20101021 11:03]:
> Thomas Arendsen Hein <thomas at intevation.de> writes:
> > * Martin Geisler <mg at aragost.com> [20101021 10:45]:
> >> Benoit Boissinot <bboissin at gmail.com> writes:
> >> > It would be awesome to have a hook at intevation to help prevent
> >> > errors from crew members (I know it happened to me a couple of times
> >> > to apply/push a stable patch on the wrong branch during a freeze).
> >>
> >> Should we not just continue like normal: push bug fixes and doc fixes to
> >> the stable branch? Then merge the stable branch back into default once a
> >> day or so.
> >
> > I could implement both at the same time:
> > Reject changesets to default which are not a merge.
> >
> > OK?
>
> Sounds good to me.
Now active:
mercurial/crew/.hg/hgrc:
[hooks]
pretxnchangegroup.freeze = hg-pretxnchangegroup-freeze
bin/hg-pretxnchangegroup-freeze:
if hg log -q -r "$HG_NODE:" -b default -M -l1|grep -q .; then
echo 'FREEZE - do not push to default, unless you merge from stable!' >&2
exit 1
fi
exit 0
Regards,
Thomas
--
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
More information about the Mercurial-devel
mailing list