HomePhabricator

perftweaks: don't crash if the rebase dest is None

Authored by mitrandir.

Description

perftweaks: don't crash if the rebase dest is None

Summary: This happens in case of "pull --rebase" if the source is ancestor of destination

Test Plan: see the new test, it's making hg crash without this change

Reviewers: #fbhgext, ryanmce, simonfar

Reviewed By: #fbhgext, ryanmce, simonfar

Subscribers: ryanmce

Differential Revision: https://phab.mercurial-scm.org/D436

Details

Committed
mitrandirAug 17 2017, 3:15 PM
Reviewer
Restricted Project
Differential Revision
D436: perftweaks: don't crash if the rebase dest is None
Parents
rFBHGX618ee1a1547a: absorb: preserve phase
Branches
Unknown
Tags
Unknown