If a symbolic link file of a package is linked to a directory and is in your current working

directory and you search that link file with sf, pisi sf returns wrong results...

Actually this should have been returning "Kör müsün Gökçen burda işte!"... but here is 
another fix for that. :)
This commit is contained in:
Faik Uygur
2008-10-24 11:29:17 +00:00
parent 1b24f22364
commit 5477c6bd01
-3
View File
@@ -63,7 +63,4 @@ Finds the installed package which contains the specified file.
for path in self.args:
if not ctx.config.options.quiet:
ctx.ui.info(_('Searching for %s') % path)
import os.path
if os.path.exists(path):
path = os.path.realpath(path)
self.search_file(path)