changeset 19616:f959b60e3025

debugfs: add hardlink support reporting
author Matt Mackall <mpm@selenic.com>
date Wed, 14 Aug 2013 12:42:22 -0500
parents 77d434760857
children ba89c3872801
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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')