equal
deleted
inserted
replaced
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""" |