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