It's only the filectx for committed files that have the copy source's
nodeid easily available; workingfilectx's and overlayfilectx's
renamed() simply find the nodeid by looking in the changeset's p1's
manifest.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGe9413a3be093: context: rewrite renamed() in terms of new copysource() where appropriate
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.