125
143
"already exists at the destination location.")
127
145
push_result = dir_to.push_branch(br_from, revision_id, overwrite,
129
147
except errors.DivergedBranches:
130
148
raise errors.BzrCommandError('These branches have diverged.'
133
150
except errors.NoRepositoryPresent:
134
151
# we have a bzrdir but no branch or repository
135
152
# XXX: Figure out what to do other than complain.