Mercurial > hg
diff hgext/rebase.py @ 51554:a151fd01e98c
postincoming: move to cmdutil
This looks like a good place for it to live.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 27 Mar 2024 17:29:48 +0000 |
parents | cbcbf63b6dbf |
children | 493034cc3265 |
line wrap: on
line diff
--- a/hgext/rebase.py Wed Mar 27 17:21:46 2024 +0000 +++ b/hgext/rebase.py Wed Mar 27 17:29:48 2024 +0000 @@ -2133,16 +2133,16 @@ ) revsprepull = len(repo) - origpostincoming = commands.postincoming + origpostincoming = cmdutil.postincoming def _dummy(*args, **kwargs): pass - commands.postincoming = _dummy + cmdutil.postincoming = _dummy try: ret = orig(ui, repo, *args, **opts) finally: - commands.postincoming = origpostincoming + cmdutil.postincoming = origpostincoming revspostpull = len(repo) if revspostpull > revsprepull: # --rev option from pull conflict with rebase own --rev