D7372: remotefilelog: handle **kwargs correctly when overriding changelog.add()
dploch (Daniel Ploch)
phabricator at mercurial-scm.org
Wed Nov 13 09:00:34 EST 2019
Closed by commit rHGc5f6f58f6c71: remotefilelog: handle **kwargs correctly when overriding changelog.add() (authored by dploch).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7372?vs=18050&id=18052
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7372/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7372
AFFECTED FILES
hgext/remotefilelog/__init__.py
CHANGE DETAILS
diff --git a/hgext/remotefilelog/__init__.py b/hgext/remotefilelog/__init__.py
--- a/hgext/remotefilelog/__init__.py
+++ b/hgext/remotefilelog/__init__.py
@@ -719,9 +719,9 @@
remotefilelog.remotefilelog, b'addrawrevision', addrawrevision
)
- def changelogadd(orig, self, *args):
+ def changelogadd(orig, self, *args, **kwargs):
oldlen = len(self)
- node = orig(self, *args)
+ node = orig(self, *args, **kwargs)
newlen = len(self)
if oldlen != newlen:
for oldargs in pendingfilecommits:
To: dploch, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list