[Bug 6081] New: Improve message "waiting for lock ..." ?

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Bug 6081] New: Improve message "waiting for lock ..." ?


            Bug ID: 6081
           Summary: Improve message "waiting for lock ..." ?
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]

Some students were confused by the message

"waiting for lock on working directory of /home/me/tmp/tmp_repo held by process
'6631' on host 'gre/effffffc'"

See https://bz.mercurial-scm.org/show_bug.cgi?id=4752

I was told that Git prints a clearer explanation:

$ git commit -a
fatal: Unable to create '/tmp/git/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

Wouldn't it be good to print something as clear/explicit as Git?

You are receiving this mail because:
You are on the CC list for the bug.
Mercurial-devel mailing list
[hidden email]