equal
deleted
inserted
replaced
24 > if releaseexc: |
24 > if releaseexc: |
25 > raise error.Abort('expected release exception') |
25 > raise error.Abort('expected release exception') |
26 > l = repo._lock(repo.vfs, 'testlock', False, unlock, None, 'test lock') |
26 > l = repo._lock(repo.vfs, 'testlock', False, unlock, None, 'test lock') |
27 > return l |
27 > return l |
28 > |
28 > |
29 > @command('testlockexc') |
29 > @command(b'testlockexc') |
30 > def testlockexc(ui, repo): |
30 > def testlockexc(ui, repo): |
31 > testlock = acquiretestlock(repo, True) |
31 > testlock = acquiretestlock(repo, True) |
32 > try: |
32 > try: |
33 > testlock.release() |
33 > testlock.release() |
34 > finally: |
34 > finally: |