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 |
Related bugs: |
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.
Makes sense, thanks, see inline comments.