[issue2517] util.checknlink returns wrong result if there is a .hgtmp file

Adrian Buehlmann bugs at mercurial.selenic.com
Tue Nov 23 20:13:05 UTC 2010


New submission from Adrian Buehlmann <adrian at cadifra.com>:

If there is a .hgtmp file lying around from a previous crashed
run, util.checknlink() returns True on Windows, because
OSError with errno.EINVAL is thrown, which is misinterpreted
as "the fs doesn't support hardlinks".

This may lead to hardlinks not being broken up on Windows shares.

----------
assignedto: abuehl
messages: 14502
nosy: abuehl
priority: bug
status: unread
title: util.checknlink returns wrong result if there is a .hgtmp file
topic: windows

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2517>
____________________________________________________


More information about the Mercurial-devel mailing list