diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -2781,8 +2781,10 @@ ignored=False, clean=False, unknown=False, listsubrepos=False): '''a convenience method that calls node1.status(node2)''' - return self[node1].status(node2, match, ignored, clean, unknown, - listsubrepos) + with util.timedcm('repo.status look up node1 context %r', node1): + n1 = self[node1] + return n1.status(node2, match, ignored, clean, unknown, + listsubrepos) def addpostdsstatus(self, ps): """Add a callback to run within the wlock, at the point at which status