This is an archive of the discontinued Mercurial Phabricator instance.

remotefilelog: fix {file_copies} template keyword
ClosedPublic

Authored by martinvonz on Jan 11 2019, 8:02 PM.

Details

Summary

remotefilelog overrides templatekw.getrenamedfn(). I changed the
return type of that function in ec37df9042f9 (templatekw: make
getrenamed() return only filename, not nodeid, 2018-03-26). So we need
to change remotefilelog too. The function is used by the {file_copies}
template keyword and by hg log --copies.

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.

Event Timeline

martinvonz created this revision.Jan 11 2019, 8:02 PM
This revision was automatically updated to reflect the committed changes.