/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tree.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-22 17:31:39 UTC
  • mto: (0.200.1878 work)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@jelmer.uk-20180322173139-7ec44pau5dli1ju1
Return None from Tree.get_root_id() when encountering an empty tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
276
276
        return ret
277
277
 
278
278
    def get_root_id(self):
 
279
        if self.tree is None:
 
280
            return None
279
281
        return self.path2id("")
280
282
 
281
283
    def has_or_had_id(self, file_id):