Skip to content
Snippets Groups Projects
Commit 87248de0 authored by Matt Mackall's avatar Matt Mackall
Browse files

keyword: backout realpath change (issue3071)

parent 6051d8e7
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment