/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/transform.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:
2155
2155
            path = osutils.pathjoin(*path)
2156
2156
        return self._transform.final_file_id(self._path2trans_id(path))
2157
2157
 
2158
 
    def id2path(self, file_id):
 
2158
    def id2path(self, file_id, recurse='down'):
2159
2159
        trans_id = self._transform.trans_id_file_id(file_id)
2160
2160
        try:
2161
2161
            return self._final_paths._determine_path(trans_id)