Merge lp://staging/~jelmer/brz/find-previous-paths into lp://staging/brz

Proposed by Jelmer Vernooij
Status: Merged
Merge reported by: Jelmer Vernooij
Merged at revision: not available
Proposed branch: lp://staging/~jelmer/brz/find-previous-paths
Merge into: lp://staging/brz
Diff against target: 10 lines (+1/-1)
1 file modified
breezy/builtins.py (+1/-1)
To merge this branch: bzr merge lp://staging/~jelmer/brz/find-previous-paths
Reviewer Review Type Date Requested Status
Martin Packman Approve
Review via email: mp+341291@code.staging.launchpad.net

Commit message

Introduce a find_previous_path call.

Description of the change

Introduce a find_previous_path call.

This function takes two trees and finds the equivalent path in one tree in
another. At the moment, the implementation is pretty simple and relies on file
ids, but abstracting this away makes it possible to do fancier things in the
future. For example, for Git we'd want to use rename detection based on file
contents.

To post a comment you must log in.
Revision history for this message
Martin Packman (gz) wrote :

Makes sense, thanks, see inline comments.

review: Approve
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches