mercurial/util_win32.py
changeset 7778 82f7145b304c
parent 7473 5185a24ce04e
--- a/mercurial/util_win32.py	Sun Feb 15 20:18:29 2009 +0200
+++ b/mercurial/util_win32.py	Mon Feb 16 17:37:23 2009 -0600
@@ -161,6 +161,8 @@
                               'move the file to a different disk drive'))
     except pywintypes.error, details:
         raise WinOSError(details)
+    except NotImplementedError: # Another fake error win Win98
+        raise WinOSError((18, 'CreateHardLink', 'Hardlinking not supported'))
 
 def nlinks(pathname):
     """Return number of hardlinks for the given file."""