diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -220,7 +220,7 @@ class abstractsubrepo(object): """ raise NotImplementedError - def checknested(path): + def checknested(self, path): """check if path is a subrepository within this repository""" return False