Show More
@@ -86,7 +86,7 b' from mercurial import localrepo, match, ' | |||||
86 | from mercurial import scmutil |
|
86 | from mercurial import scmutil | |
87 | from mercurial.hgweb import webcommands |
|
87 | from mercurial.hgweb import webcommands | |
88 | from mercurial.i18n import _ |
|
88 | from mercurial.i18n import _ | |
89 | import re, shutil, tempfile |
|
89 | import os, re, shutil, tempfile | |
90 |
|
90 | |||
91 | commands.optionalrepo += ' kwdemo' |
|
91 | commands.optionalrepo += ' kwdemo' | |
92 |
|
92 | |||
@@ -647,7 +647,7 b' def reposetup(ui, repo):' | |||||
647 | source = repo.dirstate.copied(dest) |
|
647 | source = repo.dirstate.copied(dest) | |
648 | if 'l' in wctx.flags(source): |
|
648 | if 'l' in wctx.flags(source): | |
649 | source = scmutil.canonpath(repo.root, cwd, |
|
649 | source = scmutil.canonpath(repo.root, cwd, | |
650 |
|
|
650 | os.path.realpath(source)) | |
651 | return kwt.match(source) |
|
651 | return kwt.match(source) | |
652 |
|
652 | |||
653 | candidates = [f for f in repo.dirstate.copies() if |
|
653 | candidates = [f for f in repo.dirstate.copies() if |
General Comments 0
You need to be logged in to leave comments.
Login now