# HG changeset patch # User Christian Ebert # Date 1320673691 0 # Node ID cc54b798aca4f818043219f0769a898e2792c472 # Parent dadecc4f3341bb50749a3e67c12724eec6801bdb Backout b78cce2b1430 until a proper solution is found diff -r dadecc4f3341 -r cc54b798aca4 hgkw/keyword.py --- a/hgkw/keyword.py Sat Oct 22 23:21:38 2011 +0200 +++ b/hgkw/keyword.py Mon Nov 07 13:48:11 2011 +0000 @@ -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