~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/push.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-15 17:06:47 UTC
  • mfrom: (4441.1.1 bzr.ab.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090615170647-5zu6h93br8c4ue6i
(nmb) Add docs about diverged branches and refer to it when pushing
        fails

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
                remember)
129
129
        except errors.DivergedBranches:
130
130
            raise errors.BzrCommandError('These branches have diverged.'
131
 
                                    '  Try using "merge" and then "push".')
 
131
                                    '  See "bzr help diverged-branches"'
 
132
                                    ' for more information.')
132
133
        except errors.NoRepositoryPresent:
133
134
            # we have a bzrdir but no branch or repository
134
135
            # XXX: Figure out what to do other than complain.