Show More
@@ -11,7 +11,7 b' def extsetup(ui):' | |||||
11 | extensions.wrapfunction(repository.peer, 'capable', wrapcapable) |
|
11 | extensions.wrapfunction(repository.peer, 'capable', wrapcapable) | |
12 | extensions.wrapfunction(localrepo.localrepository, 'peer', wrappeer) |
|
12 | extensions.wrapfunction(localrepo.localrepository, 'peer', wrappeer) | |
13 | def wrapcapable(orig, self, name, *args, **kwargs): |
|
13 | def wrapcapable(orig, self, name, *args, **kwargs): | |
14 | if name in '$CAP'.split(' '): |
|
14 | if name in b'$CAP'.split(b' '): | |
15 | return False |
|
15 | return False | |
16 | return orig(self, name, *args, **kwargs) |
|
16 | return orig(self, name, *args, **kwargs) | |
17 | def wrappeer(orig, self): |
|
17 | def wrappeer(orig, self): |
General Comments 0
You need to be logged in to leave comments.
Login now