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