mercurial/debugcommands.py
changeset 35514 5880318624c9
parent 35469 f1c54d003327
child 35562 6580cf751418
equal deleted inserted replaced
35513:c4caf530b1c7 35514:5880318624c9
   909     fm.end()
   909     fm.end()
   910 
   910 
   911 @command('debugfsinfo', [], _('[PATH]'), norepo=True)
   911 @command('debugfsinfo', [], _('[PATH]'), norepo=True)
   912 def debugfsinfo(ui, path="."):
   912 def debugfsinfo(ui, path="."):
   913     """show information detected about current filesystem"""
   913     """show information detected about current filesystem"""
       
   914     ui.write(('path: %s\n') % path)
       
   915     ui.write(('mounted on: %s\n') % (util.getfsmountpoint(path) or '(unknown)'))
   914     ui.write(('exec: %s\n') % (util.checkexec(path) and 'yes' or 'no'))
   916     ui.write(('exec: %s\n') % (util.checkexec(path) and 'yes' or 'no'))
   915     ui.write(('fstype: %s\n') % (util.getfstype(path) or '(unknown)'))
   917     ui.write(('fstype: %s\n') % (util.getfstype(path) or '(unknown)'))
   916     ui.write(('symlink: %s\n') % (util.checklink(path) and 'yes' or 'no'))
   918     ui.write(('symlink: %s\n') % (util.checklink(path) and 'yes' or 'no'))
   917     ui.write(('hardlink: %s\n') % (util.checknlink(path) and 'yes' or 'no'))
   919     ui.write(('hardlink: %s\n') % (util.checknlink(path) and 'yes' or 'no'))
   918     casesensitive = '(unknown)'
   920     casesensitive = '(unknown)'