~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/uncommit.py

  • Committer: Aaron Bentley
  • Date: 2007-07-11 19:44:51 UTC
  • mto: This revision was merged to the branch mainline in revision 2606.
  • Revision ID: abentley@panoramicfeedback.com-20070711194451-3jqhye1nnd02a9uv
Restore original Branch.last_revision behavior, fix bits that care

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
            if master is not None:
78
78
                master.set_revision_history(rh)
79
79
            branch.set_revision_history(rh)
80
 
            new_tip = branch.last_revision()
 
80
            new_tip = _mod_revision.ensure_null(branch.last_revision())
81
81
            if master is None:
82
82
                hook_local = None
83
83
                hook_master = branch