hgext/extdiff.py
changeset 14319 b33f3e35efb0
parent 14232 df2399663392
child 14322 a90131b85fd8
--- a/hgext/extdiff.py	Fri May 13 12:57:27 2011 -0500
+++ b/hgext/extdiff.py	Fri May 13 14:06:28 2011 -0500
@@ -123,10 +123,10 @@
         msg = _('cannot specify --rev and --change at the same time')
         raise util.Abort(msg)
     elif change:
-        node2 = cmdutil.revsingle(repo, change, None).node()
+        node2 = scmutil.revsingle(repo, change, None).node()
         node1a, node1b = repo.changelog.parents(node2)
     else:
-        node1a, node2 = cmdutil.revpair(repo, revs)
+        node1a, node2 = scmutil.revpair(repo, revs)
         if not revs:
             node1b = repo.dirstate.p2()
         else: