Mercurial > hg
diff hgext/rebase.py @ 48118:5105a9975407
errors: raise InputError from revsingle() iff revset provided by the user
Same reasoning as for `revrange()` in an earlier patch.
Differential Revision: https://phab.mercurial-scm.org/D11562
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 28 Sep 2021 15:11:22 -0700 |
parents | 5ced12cfa41b |
children | 402a6b6173e9 |
line wrap: on
line diff
--- a/hgext/rebase.py Tue Sep 28 13:59:01 2021 -0700 +++ b/hgext/rebase.py Tue Sep 28 15:11:22 2021 -0700 @@ -1323,7 +1323,7 @@ return None if destf: # --base does not support multiple destinations - dest = scmutil.revsingle(repo, destf) + dest = logcmdutil.revsingle(repo, destf) else: dest = repo[_destrebase(repo, base, destspace=destspace)] destf = bytes(dest)