[Python-Dev] Hg: inter-branch workflow

Daniel Stutzbach stutzbach at google.com
Tue Mar 22 18:17:45 CET 2011

On Mon, Mar 21, 2011 at 8:02 PM, Stephen J. Turnbull <stephen at xemacs.org>wrote:

> Speaking for myself, I rewrite my git history because it is *not*
> useful to me as is.  Almost all of my git commits have a informational
> half-life measured in hours once they're off tip, because I commit
> with *every* save (I have an after-save-hook to do this), which I do
> "early and often".  Effectively, I use git as an extension to XEmacs's
> undo/redo mechanism.

I, too, commit using git with every save (which I do early and often).  It's
saved my butt more than once.  Awhile ago I came across the following nice
tool that puts these intermediate commits in a side branch (that can later
be abandoned) so they never show up in the main history:


I imagine something similar could be written for hg.

Daniel Stutzbach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110322/20bea233/attachment-0001.html>

More information about the Python-Dev mailing list