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.'
131
142
' See "bzr help diverged-branches"'
132
143
' for more information.')
133
148
except errors.NoRepositoryPresent:
134
149
# we have a bzrdir but no branch or repository
135
150
# XXX: Figure out what to do other than complain.