~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/push.py

  • Committer: Vincent Ladeuil
  • Date: 2011-07-06 09:22:00 UTC
  • mfrom: (6008 +trunk)
  • mto: (6012.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 6013.
  • Revision ID: v.ladeuil+lp@free.fr-20110706092200-7iai2mwzc0sqdsvf
MergingĀ inĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
        push_result.target_branch = br_to
130
130
        push_result.old_revid = _mod_revision.NULL_REVISION
131
131
        push_result.old_revno = 0
132
 
        if br_from.get_push_location() is None or remember:
 
132
        # Remembers if asked explicitly or no previous location is set
 
133
        if (remember
 
134
            or (remember is None and br_from.get_push_location() is None)):
133
135
            br_from.set_push_location(br_to.base)
134
136
    else:
135
137
        if stacked_on is not None: