[Bug 4730] New: hg crecord behaves badly when suspended

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Jun 23 21:07:20 CDT 2015


          Priority: normal
            Bug ID: 4730
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg crecord behaves badly when suspended
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: hg at adamsimpkins.net
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: record
           Product: Mercurial

If you attempt to suspend the editor when creating a commit with "hg crecord",
hg crecord incorrectly resumes and tries to create the commit when resuming.

- Run "hg crecord"
- Hit "c" to start creating the commit, and open an editor
- In the editor, hit Ctrl-Z to suspend it
- Run "fg" from the shell to resume the process

At this point "hg crecord" incorrectly resumes instead of waiting for the
editor to finish, and tries to read input, competing with the editor process
for input.

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

More information about the Mercurial-devel mailing list