2178
2178
pending_merges = tree.pending_merges()
2179
2179
if len(pending_merges) != 1:
2180
2180
raise BzrCommandError("Sorry, remerge only works after normal"
2183
2183
repository = tree.branch.repository
2184
2184
base_revision = common_ancestor(tree.branch.last_revision(),
2185
2185
pending_merges[0], repository)