Show More
@@ -304,7 +304,7 b' class journalstorage(object):' | |||
|
304 | 304 | # default to 600 seconds timeout |
|
305 | 305 | l = lock.lock( |
|
306 | 306 | vfs, 'namejournal.lock', |
|
307 |
|
|
|
307 | self.ui.configint("ui", "timeout"), desc=desc) | |
|
308 | 308 | self.ui.warn(_("got lock after %s seconds\n") % l.delay) |
|
309 | 309 | self._lockref = weakref.ref(l) |
|
310 | 310 | return l |
@@ -1611,7 +1611,7 b' class localrepository(object):' | |||
|
1611 | 1611 | (desc, inst.locker)) |
|
1612 | 1612 | # default to 600 seconds timeout |
|
1613 | 1613 | l = lockmod.lock(vfs, lockname, |
|
1614 |
|
|
|
1614 | self.ui.configint("ui", "timeout"), | |
|
1615 | 1615 | releasefn=releasefn, acquirefn=acquirefn, |
|
1616 | 1616 | desc=desc) |
|
1617 | 1617 | self.ui.warn(_("got lock after %s seconds\n") % l.delay) |
General Comments 0
You need to be logged in to leave comments.
Login now