[issue838] Windows: "hg tail" fails with IOError [Errno 0]

Maciek Starzyk mercurial-bugs at selenic.com
Tue Nov 20 13:29:19 CST 2007


New submission from Maciek Starzyk <mstarzyk at gmail.com>:

Executing "hg tag" on windows results with: "abort: Error" message. 
Traceback shows "IOError [Errno 0]" exception. 
This is caused by hg both reading and writing to the same file (.hgtags) using 
one file object. However, reading and writing to the same file object on 
Windows needs to be separated with seek()
See:
  https://lists.ubuntu.com/archives/bazaar/2007q1/023524.html
  http://msdn2.microsoft.com/en-us/library/yeby3zcb(vs.71).aspx

----------
messages: 4349
nosy: mstarzyk
priority: bug
status: unread
title: Windows: "hg tail" fails with IOError [Errno 0]
topic: patch, windows

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



More information about the Mercurial-devel mailing list