[RFC] Amend commit messages
Laurens Holst
laurens.nospam at grauw.nl
Wed Feb 23 07:31:29 CST 2011
Op 23-2-2011 14:20, Laurens Holst schreef:
> A nice aspect of this I think is that it has ‘gradations of
> penalties’, through which it teaches you to be careful when committing
> and pushing changes.
>
> Didn’t review what you were about to commit? You have to waste time
> doing the commit over. Only realise that you made a mistake after you
> made other commits? Go through the additional effort of altering your
> local history, or don’t bother. Still didn’t realise your mistake when
> you pushed? Either you get admin access to the central repo and inform
> the whole department that they need to re-pull their repos, or don’t
> bother. Even at this point it’s still possible, just the cost really
> starts to outweigh the benefit.
I guess if anything, I would investigate ways to allow you to prevent
old changesets from changed history from being pushed back in. To make
that last step a little bit more feasible, especially in open source
projects. Dead branches may be part of the solution, if it implements a
changeset-blacklist.
~Laurens
--
~~ Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~
Laurens Holst, developer, Utrecht, the Netherlands
Website: www.grauw.nl. Backbase employee; www.backbase.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6034 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110223/60a0ed42/attachment.bin>
More information about the Mercurial-devel
mailing list