Show More
@@ -166,6 +166,7 b' test-issue842.t' | |||
|
166 | 166 | test-journal-exists.t |
|
167 | 167 | test-largefiles-small-disk.t |
|
168 | 168 | test-locate.t |
|
169 | test-lock-badness.t | |
|
169 | 170 | test-logexchange.t |
|
170 | 171 | test-lrucachedict.py |
|
171 | 172 | test-mactext.t |
@@ -22,8 +22,8 b' Test that raising an exception in the re' | |||
|
22 | 22 | > def acquiretestlock(repo, releaseexc): |
|
23 | 23 | > def unlock(): |
|
24 | 24 | > if releaseexc: |
|
25 | > raise error.Abort('expected release exception') | |
|
26 | > l = repo._lock(repo.vfs, 'testlock', False, unlock, None, 'test lock') | |
|
25 | > raise error.Abort(b'expected release exception') | |
|
26 | > l = repo._lock(repo.vfs, b'testlock', False, unlock, None, b'test lock') | |
|
27 | 27 | > return l |
|
28 | 28 | > |
|
29 | 29 | > @command(b'testlockexc') |
@@ -35,7 +35,7 b' Test that raising an exception in the re' | |||
|
35 | 35 | > try: |
|
36 | 36 | > testlock = acquiretestlock(repo, False) |
|
37 | 37 | > except error.LockHeld: |
|
38 | > raise error.Abort('lockfile on disk even after releasing!') | |
|
38 | > raise error.Abort(b'lockfile on disk even after releasing!') | |
|
39 | 39 | > testlock.release() |
|
40 | 40 | > EOF |
|
41 | 41 | $ cat >> $HGRCPATH << EOF |
General Comments 0
You need to be logged in to leave comments.
Login now