diff mercurial/sshpeer.py @ 33863:3160876c6e4e

rebase: choose merge base without unwanted revisions Previously, when there are 2 merge base candidates, we choose p1 blindly, which may make the merge result to have "unwanted content". This patch makes rebase smarter - choose a merge base that does not have "unwanted revs" if possible. Since we don't really have a good solution when there are "unwanted revs", abort in that case. Differential Revision: https://phab.mercurial-scm.org/D340
author Jun Wu <quark@fb.com>
date Thu, 10 Aug 2017 22:17:15 -0700
parents dedab036215d
children c037fd655b47
line wrap: on
line diff