Show More
@@ -191,6 +191,11 b' def _exthook(ui, repo, htype, name, cmd,' | |||
|
191 | 191 | cwd = encoding.getcwd() |
|
192 | 192 | r = ui.system(cmd, environ=env, cwd=cwd, blockedtag=b'exthook-%s' % (name,)) |
|
193 | 193 | |
|
194 | if repo is not None and repo.currentwlock() is None: | |
|
195 | repo.invalidatedirstate() | |
|
196 | if repo is not None and repo.currentlock() is None: | |
|
197 | repo.invalidate() | |
|
198 | ||
|
194 | 199 | duration = util.timer() - starttime |
|
195 | 200 | ui.log( |
|
196 | 201 | b'exthook', |
General Comments 0
You need to be logged in to leave comments.
Login now