~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Aaron Bentley
  • Date: 2007-07-25 05:24:39 UTC
  • mto: This revision was merged to the branch mainline in revision 2733.
  • Revision ID: aaron.bentley@utoronto.ca-20070725052439-t6hzz6o142as6wmd
Return NULL_REVISION instead of None for the null revision

Show diffs side-by-side

added added

removed removed

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