This is an archive of the discontinued Mercurial Phabricator instance.

filectx: correct docstring about "changeid"
ClosedPublic

Authored by martinvonz on Oct 4 2018, 1:44 PM.

Details

Summary

The changeid argument must be a revnum (basefile.rev() is defined as
"return self._changeid"), so fix the lie in the docstring. It seems to
have been incorrect for at least 10 years (I didn't check further
back).

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.Oct 4 2018, 1:44 PM
This revision was automatically updated to reflect the committed changes.