Show More
@@ -790,10 +790,7 b' def debugfsinfo(ui, path="."):' | |||||
790 | """show information detected about current filesystem""" |
|
790 | """show information detected about current filesystem""" | |
791 | util.writefile('.debugfsinfo', '') |
|
791 | util.writefile('.debugfsinfo', '') | |
792 | ui.write(('exec: %s\n') % (util.checkexec(path) and 'yes' or 'no')) |
|
792 | ui.write(('exec: %s\n') % (util.checkexec(path) and 'yes' or 'no')) | |
793 | from . import osutil |
|
793 | ui.write(('fstype: %s\n') % (util.getfstype('.') or '(unknown)')) | |
794 | if util.safehasattr(osutil, 'getfstype'): |
|
|||
795 | fstype = osutil.getfstype('.') |
|
|||
796 | ui.write(('fstype: %s\n') % (fstype or '(unknown)')) |
|
|||
797 | ui.write(('symlink: %s\n') % (util.checklink(path) and 'yes' or 'no')) |
|
794 | ui.write(('symlink: %s\n') % (util.checklink(path) and 'yes' or 'no')) | |
798 | ui.write(('hardlink: %s\n') % (util.checknlink(path) and 'yes' or 'no')) |
|
795 | ui.write(('hardlink: %s\n') % (util.checknlink(path) and 'yes' or 'no')) | |
799 | ui.write(('case-sensitive: %s\n') % (util.fscasesensitive('.debugfsinfo') |
|
796 | ui.write(('case-sensitive: %s\n') % (util.fscasesensitive('.debugfsinfo') |
General Comments 0
You need to be logged in to leave comments.
Login now