Show More
@@ -84,9 +84,9 b' def trylock(ui, vfs, lockname, timeout, ' | |||||
84 | l.delay = delay |
|
84 | l.delay = delay | |
85 | if l.delay: |
|
85 | if l.delay: | |
86 | if 0 <= warningidx <= l.delay: |
|
86 | if 0 <= warningidx <= l.delay: | |
87 |
ui.warn(_("got lock after % |
|
87 | ui.warn(_("got lock after %d seconds\n") % l.delay) | |
88 | else: |
|
88 | else: | |
89 |
ui.debug("got lock after % |
|
89 | ui.debug("got lock after %d seconds\n" % l.delay) | |
90 | if l.acquirefn: |
|
90 | if l.acquirefn: | |
91 | l.acquirefn() |
|
91 | l.acquirefn() | |
92 | return l |
|
92 | return l |
General Comments 0
You need to be logged in to leave comments.
Login now