[Bug 3834] New: Ctrl+C when pager is running sometimes leaves console unresponding

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Feb 19 09:11:41 CST 2013


http://bz.selenic.com/show_bug.cgi?id=3834

          Priority: normal
            Bug ID: 3834
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Ctrl+C when pager is running sometimes leaves console
                    unresponding
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: idankk86 at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5.1
         Component: pager
           Product: Mercurial

After running 'hg help revsets' and hitting Ctrl+C at some point, this
traceback appeared (can't reproduce reliably, but seen it a few times):

     An alternative syntax is "x..y".

    "x:y"
      All changesets with revision numbers between x and y, both inclusive.
      Either endpoint can be left out, they default to 0 and tip.
:Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/idan/dev/hg/local-hg/hgext/pager.py", line 100, in killpager
    pager.wait()
  File "/usr/lib/python2.7/subprocess.py", line 1301, in wait
    pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
  File "/usr/lib/python2.7/subprocess.py", line 478, in _eintr_retry_call
    return func(*args)
KeyboardInterrupt
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/idan/dev/hg/local-hg/hgext/pager.py", line 100, in killpager
    pager.wait()
  File "/usr/lib/python2.7/subprocess.py", line 1301, in wait
    pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
  File "/usr/lib/python2.7/subprocess.py", line 478, in _eintr_retry_call
    return func(*args)
KeyboardInterrupt
^C

Console doesn't respond to key presses afterwards.

Pager is set to 'less -FSRX'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list