1012
1013
existing_pending_merges = tree.get_parent_ids()[1:]
1013
1014
last_rev = tree.last_revision()
1014
1017
if last_rev == tree.branch.last_revision():
1015
1018
# may be up to date, check master too.
1016
1019
master = tree.branch.get_master_branch()