https://bz.mercurial-scm.org/show_bug.cgi?id=5391
Bug ID: 5391 Summary: mercurial.util.atomictempfile should clean temp file when failed Product: Mercurial Version: unspecified Hardware: PC OS: Windows Status: UNCONFIRMED Severity: bug Priority: normal Component: Mercurial Assignee: bugzi...@selenic.com Reporter: dondya...@gmail.com CC: andcycle-bz.mercurial-scm....@andcycle.idv.tw, bugzi...@selenic.com, kbullock+mercur...@ringworld.org, mercurial-de...@selenic.com, y...@tcha.org Depends on: 5358 +++ This bug was initially created as a clone of Bug #5358 +++ spot this issue on windows, because windows have access protection around opened file by default. here comes the detail, as I use TortoiseHG, I used to open Hg Commit and Hg Workbench at the same time, which create some race condition when access hg repository, when both window trying to update thgstatus file with atomictempfile, there is no guarantee the close/rename operation at class atomictempfile will success, which create numerous number of .thgstatus-????? file in .hg folder, stress out the filesystem. Referenced Bugs: https://bz.mercurial-scm.org/show_bug.cgi?id=5358 [Bug 5358] mercurial.util.atomictempfile should clean temp file when failed -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel