Skip to content
Snippets Groups Projects
Commit 136a86327316 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

fix: don't include obsolete descendants with -s

The `-s/--source` option is for regular users (`-r` is there for power
users). If there are obsolete commits that are descendants of the
given revision(s), then they almost definitely should just be left
alone. That's what `hg rebase` does as well. So this patch makes it so
we skip obsolete commits (including those in the input set itself).

Differential Revision: https://phab.mercurial-scm.org/D9226
parent 15a98880cc07
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment