mercurial/commands.py
changeset 19616 f959b60e3025
parent 19523 f37b5a17e6a0
child 19757 ff00839e8bb3
equal deleted inserted replaced
19615:77d434760857 19616:f959b60e3025
  1921 def debugfsinfo(ui, path = "."):
  1921 def debugfsinfo(ui, path = "."):
  1922     """show information detected about current filesystem"""
  1922     """show information detected about current filesystem"""
  1923     util.writefile('.debugfsinfo', '')
  1923     util.writefile('.debugfsinfo', '')
  1924     ui.write(('exec: %s\n') % (util.checkexec(path) and 'yes' or 'no'))
  1924     ui.write(('exec: %s\n') % (util.checkexec(path) and 'yes' or 'no'))
  1925     ui.write(('symlink: %s\n') % (util.checklink(path) and 'yes' or 'no'))
  1925     ui.write(('symlink: %s\n') % (util.checklink(path) and 'yes' or 'no'))
       
  1926     ui.write(('hardlink: %s\n') % (util.checknlink(path) and 'yes' or 'no'))
  1926     ui.write(('case-sensitive: %s\n') % (util.checkcase('.debugfsinfo')
  1927     ui.write(('case-sensitive: %s\n') % (util.checkcase('.debugfsinfo')
  1927                                 and 'yes' or 'no'))
  1928                                 and 'yes' or 'no'))
  1928     os.unlink('.debugfsinfo')
  1929     os.unlink('.debugfsinfo')
  1929 
  1930 
  1930 @command('debuggetbundle',
  1931 @command('debuggetbundle',