# HG changeset patch # User Matt Mackall # Date 1319994611 18000 # Node ID 87248de091352f746e8cd1cee01af29138c8e443 # Parent 6051d8e7e133238456655e5a39226490b74c1652 keyword: backout realpath change (issue3071) diff -r 6051d8e7e133 -r 87248de09135 hgext/keyword.py --- a/hgext/keyword.py Sun Oct 30 12:10:09 2011 -0500 +++ b/hgext/keyword.py Sun Oct 30 12:10:11 2011 -0500 @@ -86,7 +86,7 @@ from mercurial import scmutil from mercurial.hgweb import webcommands from mercurial.i18n import _ -import re, shutil, tempfile +import os, re, shutil, tempfile commands.optionalrepo += ' kwdemo' @@ -647,7 +647,7 @@ source = repo.dirstate.copied(dest) if 'l' in wctx.flags(source): source = scmutil.canonpath(repo.root, cwd, - util.realpath(source)) + os.path.realpath(source)) return kwt.match(source) candidates = [f for f in repo.dirstate.copies() if