mercurial/commands.py
changeset 6746 1dca460e7d1e
parent 6743 86e8187b721a
child 6747 f6c00b17387c
equal deleted inserted replaced
6745:ed01fa8ceaa6 6746:1dca460e7d1e
   641 
   641 
   642 def debugfsinfo(ui, path = "."):
   642 def debugfsinfo(ui, path = "."):
   643     file('.debugfsinfo', 'w').write('')
   643     file('.debugfsinfo', 'w').write('')
   644     ui.write('exec: %s\n' % (util.checkexec(path) and 'yes' or 'no'))
   644     ui.write('exec: %s\n' % (util.checkexec(path) and 'yes' or 'no'))
   645     ui.write('symlink: %s\n' % (util.checklink(path) and 'yes' or 'no'))
   645     ui.write('symlink: %s\n' % (util.checklink(path) and 'yes' or 'no'))
   646     ui.write('case-sensitive: %s\n' % (util.checkfolding('.debugfsinfo')
   646     ui.write('case-sensitive: %s\n' % (util.checkcase('.debugfsinfo')
   647                                 and 'yes' or 'no'))
   647                                 and 'yes' or 'no'))
   648     os.unlink('.debugfsinfo')
   648     os.unlink('.debugfsinfo')
   649 
   649 
   650 def debugrebuildstate(ui, repo, rev=""):
   650 def debugrebuildstate(ui, repo, rev=""):
   651     """rebuild the dirstate as it would look like for the given revision"""
   651     """rebuild the dirstate as it would look like for the given revision"""