<div class="gmail_quote">On Thu, Jan 5, 2012 at 11:35, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":7bp">hg commit ! crap see something in their I don't understand<br>
exit emacs without saving<br></div></blockquote><div><br></div><div>You don't use emacsclient? I can't fathom why anyone would ever exit Emacs.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":7bp">
hg diff </div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":7bp">
hg revert<br>
hg commt<br></div></blockquote><div><br></div><div>No need to revert, just list the files you want to commit in "hg commit".</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":7bp">
<div class="im"><br>
><br>
> I take it you have tried TortoiseHG, SourceTree, etc, and they don't do what you want?<br>
<br>
</div> The problem with the GUI's is that they are ALL GUI, so I have to hunt down the GUI icon, click on some buttons then close the GUI window manually. While with command line I am right there and hg commit, pull, push etc can be executed much faster<br>
<br>
What I want is the the editor that opens with commit display each file changed and below some of the diffs. And then in the editor I can mark any of the diffs if I chose as revert or as don't include in commit. Is that too much to ask? Or an hg commit that opens a simple GUI just for the commit (instead of an editor) with all possible options of revert etc (bk had this 10+ years ago and hg still doesn't have it).</div>
</blockquote></div><div><br></div><div>hg crecord (<a href="https://bitbucket.org/edgimar/crecord/wiki/Home">https://bitbucket.org/edgimar/crecord/wiki/Home</a>) is the curses version of this.</div><div><br></div><div>thg commit also works like this, but it is hopelessly slow for me. Maybe some kind person will rewrite it in C. ;-)</div>
<div><br></div><div>Others mentioned qct.</div><div><br></div><div>My favorite interfaces for this sort of thing are "egg" (Emacs mode for Git) and "git citool" (in core git).</div>