hgext/graphlog.py
changeset 13971 bfeaa88b875d
parent 13669 12f60626d817
child 14042 9966c95b8c4f
--- a/hgext/graphlog.py	Wed Apr 20 19:54:57 2011 +0200
+++ b/hgext/graphlog.py	Wed Apr 20 21:41:41 2011 +0200
@@ -18,7 +18,7 @@
 from mercurial.i18n import _
 from mercurial.node import nullrev
 from mercurial import cmdutil, commands, extensions
-from mercurial import hg, util, graphmod
+from mercurial import hg, scmutil, util, graphmod
 
 ASCIIDATA = 'ASC'
 
@@ -250,7 +250,7 @@
         return
 
     if path:
-        path = util.canonpath(repo.root, os.getcwd(), path)
+        path = scmutil.canonpath(repo.root, os.getcwd(), path)
     if path: # could be reset in canonpath
         revdag = graphmod.filerevs(repo, path, start, stop, limit)
     else: