[PATCH 0 of 4] record: use only one keystroke for 'y' or 'n' when recording a patch (take 2)

Kirill Smelkov kirr at mns.spb.ru
Thu Dec 27 13:48:35 UTC 2007


Matt, Bryan, All,

I've tried to address most of your concerns.  Also, additional patch was added
to kill matchflags in prompt as suggested by Matt on mercurial-dev

Changes since take 1:

- kill matchflags in prompt
- put getch into util the right way
- add '--darcs' option to record to switch from <key><enter> style to <key>
  style when recording.

I'm open for discussion again.

---

I'm a former Darcs user, and I record patches often.

It seems to be more convenient to just press one of two keys ('y' or 'n')
instead of constanly moving my fingers to 'Enter'.

This mimics 'darcs record' behaviour.



More information about the Mercurial-devel mailing list