Show More
@@ -10,7 +10,7 b' from mercurial import extensions, repo' | |||||
10 | def extsetup(): |
|
10 | def extsetup(): | |
11 | extensions.wrapfunction(repo.repository, 'capable', wrapper) |
|
11 | extensions.wrapfunction(repo.repository, 'capable', wrapper) | |
12 | def wrapper(orig, self, name, *args, **kwargs): |
|
12 | def wrapper(orig, self, name, *args, **kwargs): | |
13 |
if name |
|
13 | if name in '$CAP'.split(' '): | |
14 | return False |
|
14 | return False | |
15 | return orig(self, name, *args, **kwargs) |
|
15 | return orig(self, name, *args, **kwargs) | |
16 | EOF |
|
16 | EOF |
General Comments 0
You need to be logged in to leave comments.
Login now