Show More
@@ -191,6 +191,11 b' def _exthook(ui, repo, htype, name, cmd,' | |||||
191 | cwd = encoding.getcwd() |
|
191 | cwd = encoding.getcwd() | |
192 | r = ui.system(cmd, environ=env, cwd=cwd, blockedtag=b'exthook-%s' % (name,)) |
|
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 | duration = util.timer() - starttime |
|
199 | duration = util.timer() - starttime | |
195 | ui.log( |
|
200 | ui.log( | |
196 | b'exthook', |
|
201 | b'exthook', |
General Comments 0
You need to be logged in to leave comments.
Login now