This is an archive of the discontinued Mercurial Phabricator instance.

patch: accept prefix argument to changedfiles() helper
ClosedPublic

Authored by martinvonz on Nov 14 2017, 1:40 PM.

Details

Summary

I'd like to call the function from an extension, passing both "strip"
and "prefix", but it currently only accepts "strip". The only in-tree
caller seems to be mq.py, which doesn't even pass "strip".

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Nov 14 2017, 1:40 PM
lothiraldan accepted this revision.Nov 15 2017, 3:25 AM
yuja accepted this revision.Nov 15 2017, 8:46 AM
This revision is now accepted and ready to land.Nov 15 2017, 8:46 AM
This revision was automatically updated to reflect the committed changes.