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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user