Mercurial > hg-stable
comparison Makefile @ 34024:32528419db64
rebase: sort destmap topologically
Previously rebase source and destination could not overlap. But with the
multi-destination support, source and destination could reasonably partially
overlap. That requires another topological sort on `{sourcerev: destrev}`
graph (destmap). This patch implements that.
If a revision's destination is itself, the error message gets changed from
"source is ancestor of destination" to "source and destination form a
cycle". Not marking as BC since automation should depend on exit code, not
error message.
Differential Revision: https://phab.mercurial-scm.org/D470
author | Jun Wu <quark@fb.com> |
---|---|
date | Mon, 21 Aug 2017 20:22:07 -0700 |
parents | af20468eb0a4 |
children | 01c57eeb35cb |
comparison
equal
deleted
inserted
replaced
34023:5e83a8fe6bc4 | 34024:32528419db64 |
---|