Mercurial > public > mercurial-scm > hg
diff tests/test-rebase-parameters.t @ 44555:05654ea5137c
rebase: accept multiple --source arguments (BC)
I think it's a little surprising that `hg rebase -s A -s B` rebases
only `B::` and ignores `A`. That's because the `-s` flag is not a
repeated flag. This patch makes it a repeated flag.
Differential Revision: https://phab.mercurial-scm.org/D8292
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 13 Mar 2020 16:39:32 -0700 |
parents | 9c9cfecd4600 |
children | dc5e5577af39 |
line wrap: on
line diff
--- a/tests/test-rebase-parameters.t Fri Mar 13 19:29:02 2020 -0700 +++ b/tests/test-rebase-parameters.t Fri Mar 13 16:39:32 2020 -0700 @@ -100,6 +100,10 @@ abort: cannot rebase the working copy [255] + $ hg rebase --source 1 --source 'wdir()' --dest 6 + abort: cannot rebase the working copy + [255] + $ hg rebase --source '1 & !1' --dest 8 empty "source" revision set - nothing to rebase [1]