~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-20 14:19:21 UTC
  • mfrom: (2598.5.19 nullrevision)
  • Revision ID: pqm@pqm.ubuntu.com-20070820141921-kmbpaev7g9epuy08
NULL_REVISION is returned to indicate the null revision, not None

Show diffs side-by-side

added added

removed removed

Lines of Context:
568
568
        if parent_ids:
569
569
            return parent_ids[0]
570
570
        else:
571
 
            return None
 
571
            return _mod_revision.NULL_REVISION
572
572
 
573
573
    def lock_read(self):
574
574
        """See Branch.lock_read, and WorkingTree.unlock."""