Mercurial > hg
changeset 7778:82f7145b304c
Don't fail on clone on win98 (issue1492)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 16 Feb 2009 17:37:23 -0600 |
parents | e3425726b80d |
children | e899ead7b8ae |
files | mercurial/util_win32.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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."""