( )⚙ D4881 filectx: correct docstring about "changeid"

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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Oct 4 2018, 1:44 PM
This revision was automatically updated to reflect the committed changes.