equal
deleted
inserted
replaced
136 except KeyError: |
136 except KeyError: |
137 # note: load is lazy so we could avoid the try-except, |
137 # note: load is lazy so we could avoid the try-except, |
138 # but I (marmoute) prefer this explicit code. |
138 # but I (marmoute) prefer this explicit code. |
139 class dummyui(object): |
139 class dummyui(object): |
140 def debug(self, msg): |
140 def debug(self, msg): |
|
141 pass |
|
142 def log(self, event, msgfmt, *msgargs, **opts): |
141 pass |
143 pass |
142 stripext = extensions.load(dummyui(), 'strip', '') |
144 stripext = extensions.load(dummyui(), 'strip', '') |
143 |
145 |
144 strip = stripext.strip |
146 strip = stripext.strip |
145 checksubstate = stripext.checksubstate |
147 checksubstate = stripext.checksubstate |