tests/test-lock-badness.t
changeset 33097 fce4ed2912bb
parent 32337 46ba2cdda476
child 35209 9153871d50e0
equal deleted inserted replaced
33096:d9962854a4a2 33097:fce4ed2912bb
    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: