/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/tests/test_bundle.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-01-19 15:58:34 UTC
  • mfrom: (7450.1.2 id2path-recurse)
  • Revision ID: breezy.the.bot@gmail.com-20200119155834-fw67l9q382xh7i98
Support recurse argument to id2path.

Merged from https://code.launchpad.net/~jelmer/brz/id2path-recurse/+merge/377805

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
    def path2id(self, path):
148
148
        return self.ids.get(path)
149
149
 
150
 
    def id2path(self, file_id):
 
150
    def id2path(self, file_id, recurse='down'):
151
151
        try:
152
152
            return self.paths[file_id]
153
153
        except KeyError: