mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
keyword: omit setting extra variable for record context
Since ab6bbeb1b787 the context is always retrieved in kwtemplater.overwrite().
This commit is contained in:
parent
fa236c2f0a
commit
7ef7102e51
@ -502,8 +502,7 @@ def reposetup(ui, repo):
|
||||
# therefore compare nodes before and after
|
||||
ctx = repo['.']
|
||||
ret = orig(ui, repo, commitfunc, *pats, **opts)
|
||||
recctx = repo['.']
|
||||
if ctx != recctx:
|
||||
if ctx != repo['.']:
|
||||
kwt.overwrite('.', True, None)
|
||||
return ret
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user