Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 6746:1dca460e7d1e
rename checkfolding to checkcase
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 26 Jun 2008 13:58:24 -0500 |
parents | 86e8187b721a |
children | f6c00b17387c |
comparison
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""" |