# HG changeset patch # User Siddharth Agarwal # Date 1392257112 28800 # Node ID f828d82c35dca8bc71a32825ce27783e94ce6474 # Parent 23d7caeed05a2c80ae170bd326c82a352be41e27 hg2git: call status on newctx, not newctx.rev() There's no benefit to calling rev(). diff --git a/hggit/hg2git.py b/hggit/hg2git.py --- a/hggit/hg2git.py +++ b/hggit/hg2git.py @@ -105,7 +105,7 @@ # The only reliable way to get the full set of changes is by looking at # the full manifest. And, the easy way to compare two manifests is # localrepo.status(). - modified, added, removed = self._hg.status(self._ctx, newctx.rev())[0:3] + modified, added, removed = self._hg.status(self._ctx, newctx)[0:3] # We track which directories/trees have modified in this update and we # only export those.