/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 breezy/git/workingtree.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-07-26 00:52:04 UTC
  • mfrom: (7358.14.2 get-root-id)
  • Revision ID: breezy.the.bot@gmail.com-20190726005204-fapfcsnonmr0e3r3
Remove Tree.get_root_id() in favour of Tree.path2id('').

Merged from https://code.launchpad.net/~jelmer/brz/get-root-id/+merge/369477

Show diffs side-by-side

added added

removed removed

Lines of Context:
1039
1039
        prefix = prefix.encode('utf-8')
1040
1040
        per_dir = defaultdict(set)
1041
1041
        if prefix == b"":
1042
 
            per_dir[(u'', self.get_root_id())] = set()
 
1042
            per_dir[(u'', self.path2id(''))] = set()
1043
1043
 
1044
1044
        def add_entry(path, kind):
1045
1045
            if path == b'' or not path.startswith(prefix):