Show More
@@ -1436,10 +1436,10 b' def debuglocks(ui, repo, **opts):' | |||
|
1436 | 1436 | if ":" in locker: |
|
1437 | 1437 | host, pid = locker.split(':') |
|
1438 | 1438 | if host == socket.gethostname(): |
|
1439 | locker = 'user %s, process %s' % (user, pid) | |
|
1439 | locker = 'user %s, process %s' % (user or b'None', pid) | |
|
1440 | 1440 | else: |
|
1441 | 1441 | locker = 'user %s, process %s, host %s' \ |
|
1442 | % (user, pid, host) | |
|
1442 | % (user or b'None', pid, host) | |
|
1443 | 1443 | ui.write(("%-6s %s (%ds)\n") % (name + ":", locker, age)) |
|
1444 | 1444 | return 1 |
|
1445 | 1445 | except OSError as e: |
General Comments 0
You need to be logged in to leave comments.
Login now