debugfs: add hardlink support reporting
authorMatt Mackall <mpm@selenic.com>
Wed, 14 Aug 2013 12:42:22 -0500
changeset 19616 f959b60e3025
parent 19615 77d434760857
child 19617 ba89c3872801
debugfs: add hardlink support reporting
mercurial/commands.py
--- a/mercurial/commands.py	Sun Aug 04 13:43:39 2013 +0200
+++ b/mercurial/commands.py	Wed Aug 14 12:42:22 2013 -0500
@@ -1923,6 +1923,7 @@
     util.writefile('.debugfsinfo', '')
     ui.write(('exec: %s\n') % (util.checkexec(path) and 'yes' or 'no'))
     ui.write(('symlink: %s\n') % (util.checklink(path) and 'yes' or 'no'))
+    ui.write(('hardlink: %s\n') % (util.checknlink(path) and 'yes' or 'no'))
     ui.write(('case-sensitive: %s\n') % (util.checkcase('.debugfsinfo')
                                 and 'yes' or 'no'))
     os.unlink('.debugfsinfo')