D3154: filelog: wrap revlog instead of inheriting it (API)

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sat Apr 7 01:16:46 EDT 2018


indygreg added a comment.


  In https://phab.mercurial-scm.org/D3154#51010, @durin42 wrote:
  
  >   test-unionrepo.t:
  >   +      t = self.revision(node)
  >   +    File "/tmp/hgtests.wmoy8H/install/lib/python/mercurial/filelog.py", line 93, in revision
  >   +      return self._revlog.revision(node, _df=_df, raw=raw)
  >   +  TypeError: revision() got an unexpected keyword argument '_df'
  >   +  [1]
  >
  
  
  I remember this error and I thought I fixed it! But alas I can reproduce locally. I must have fixed it on a different class.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3154

To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel


More information about the Mercurial-devel mailing list