On Fri, Jan 16, 2009 at 7:34 PM, TK Soh <[email protected]> wrote:

> On Fri, Jan 16, 2009 at 8:29 PM, Steve Borho <[email protected]> wrote:
> > I pushed a new patch series.  This one works against hg-1.1.2.
> >
> > thg-crew-steve how has three heads, ignore all but the tip.  There's
> still a
> > lot of work to do, I hope to find time this weekend.
>
> Thanks. I will give it a try later.
>

I've had a couple hours to work on this, and it's progressing pretty well.
I've
added a few tidbits that Qct did well that the internal tool was missing:

 * at startup, give focus to the commit log window, not the file list
 * added ctrl-o accelerator for commit
 * in hgcmd.py, give focus to close button when command finishes

With those three changes, the commit workflow is now keyboard friendly.
hgtk commit .. type commit log message .. ctrl-o .. [return]

Chunk selection now works about as well as I expected it to.  You'll
have to play with it a bit to get a feel for it, but I think it's mostly
natural.
The only non-intuitive part is that toggling the diff header will XOR the
chunk states, as apposed to setting them to all on or off.  We can easily
change that behavior if it bugs people.

Interesting side-effect: the status window is used by THG to display diffs
between arbitrary revisions.  This still works after my changes, except we
now have a shelve button on the toolbar.  The shelve feature currently
doesn't work in this mode, since hgshelve works on the WC, but it
could with a bit of work.  This could be really useful if we allow shelving
to arbitrary patch file paths.  Talk about cherry picking...

Have a peek.  Recommended method (strips old heads):
hg clone -r tip http://bitbucket.org/sborho/thg-crew-steve/

Remaining TODOs:
* Removed files have bad performance, do not show delete diffs
* Refresh diff after commit
* Verify behavior with binary files, symlinks, permission changes

--
Steve
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to