https://bz.mercurial-scm.org/show_bug.cgi?id=5422

            Bug ID: 5422
           Summary: rebase shows "nothing to rebase" even in cases where
                    the rebaseset can be partially rebased
           Product: Mercurial
           Version: default branch
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: rebase
          Assignee: bugzi...@selenic.com
          Reporter: arcppzju+hg...@gmail.com
                CC: mercurial-de...@selenic.com

Given the following DAG:

        o  f
        |
        o  e
        |
        | o  d
        |/
        o  c
        |
        | o  b
        |/
        o  a

`hg rebase -s 'b+d+f' -d e` fails with:
nothing to rebase

The error message is not accurate because both b and d are valid sources to be
rebased. With "--debug" the reason is shown:

$ hg rebase -s 'b+d+f' -d e --debug
rebase onto cd22cb85be7c starting from 27056920676d
rebase onto cd22cb85be7c starting from 7fde43e95481
source is a child of destination
nothing to rebase

However, we should probably improve the error message so it's more informative
than just "nothing to rebase".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to