D5630: remotefilelog: remove pointless return statement from constructor
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Jan 18 06:19:13 UTC 2019
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5630
AFFECTED FILES
hgext/remotefilelog/remotefilectx.py
CHANGE DETAILS
diff --git a/hgext/remotefilelog/remotefilectx.py b/hgext/remotefilelog/remotefilectx.py
--- a/hgext/remotefilelog/remotefilectx.py
+++ b/hgext/remotefilelog/remotefilectx.py
@@ -452,8 +452,8 @@
class remoteworkingfilectx(context.workingfilectx, remotefilectx):
def __init__(self, repo, path, filelog=None, workingctx=None):
self._ancestormap = None
- return super(remoteworkingfilectx, self).__init__(repo, path,
- filelog, workingctx)
+ super(remoteworkingfilectx, self).__init__(repo, path, filelog,
+ workingctx)
def parents(self):
return remotefilectx.parents(self)
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list