diff -r d059821fc89f -r 5b3d55a6821f mercurial/debugcommands.py --- a/mercurial/debugcommands.py Sun Mar 26 21:10:25 2017 +0530 +++ b/mercurial/debugcommands.py Sun Mar 26 17:29:37 2017 -0700 @@ -790,7 +790,7 @@ """show information detected about current filesystem""" util.writefile('.debugfsinfo', '') ui.write(('exec: %s\n') % (util.checkexec(path) and 'yes' or 'no')) - ui.write(('fstype: %s\n') % (util.getfstype('.') or '(unknown)')) + ui.write(('fstype: %s\n') % (util.getfstype(path) or '(unknown)')) ui.write(('symlink: %s\n') % (util.checklink(path) and 'yes' or 'no')) ui.write(('hardlink: %s\n') % (util.checknlink(path) and 'yes' or 'no')) ui.write(('case-sensitive: %s\n') % (util.fscasesensitive('.debugfsinfo')