/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/tree.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-06-22 11:16:17 UTC
  • mfrom: (7350.5.1 objects-2b)
  • Revision ID: breezy.the.bot@gmail.com-20190622111617-3l35prm7m184yvo1
Remove file_id from transform's create_from_tree, get filter tree paths by path.

Merged from https://code.launchpad.net/~jelmer/brz/objects-2b/+merge/368930

Show diffs side-by-side

added added

removed removed

Lines of Context:
1184
1184
    :param to_tree: To tree
1185
1185
    :param path: Path to search for (exists in from_tree)
1186
1186
    :return: path in to_tree, or None if there is no equivalent path.
 
1187
    :raise NoSuchFile: If the path doesn't exist in from_tree
1187
1188
    """
1188
1189
    if file_id is None:
1189
1190
        file_id = from_tree.path2id(path)