~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-08-16 04:31:16 UTC
  • mfrom: (1819.1.9 bzr.mbp.perf-history)
  • Revision ID: pqm@pqm.ubuntu.com-20060816043116-0e82b6cea99bffd4
(mbp) performance-history tracking

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
        raise errors.UpgradeRequired(self.base)
309
309
 
310
310
    def last_revision(self):
311
 
        """Return last patch hash, or None if no history."""
 
311
        """Return last revision id, or None"""
312
312
        ph = self.revision_history()
313
313
        if ph:
314
314
            return ph[-1]