branch | stable |
changeset 13038 | 670f4e98276d |
parent 12938 | bf826c0b9537 |
child 13039 | dd24f3e7ca9e |
--- a/mercurial/util.py Tue Nov 16 13:06:07 2010 -0600 +++ b/mercurial/util.py Tue Nov 23 22:53:47 2010 +0100 @@ -722,10 +722,7 @@ try: os_link(testfile, f) - except OSError, inst: - if inst.errno == errno.EINVAL: - # FS doesn't support creating hardlinks - return True + except OSError: return False try: