Created attachment 2013 [details] The exception I ran this command and got an exception (added as attachment). hg stat --config fsmonitor.mode=paranoid Running hg stat normally showed no file differences. I was trying to investigate why hg stat said there's no file changes but Eclipse's HgEclipse plugin said there were. I recently turned on fsmonitor a week back and suspected there might be an issue.
Bug was set to UNCONFIRMED for 30 days, bumping
Bug was set to UNCONFIRMED for 31 days, bumping
This issue occurs only if: - fsmonitor.mode is configured as "paranoid", and - environment variable FSMONITOR_LOG_FILE is not configured Root cause of this issue is that "localrepo.opener" was dropped since Mercurial 4.3 (or a7e210167c28).
Fixed by https://mercurial-scm.org/repo/hg/rev/6b1a8c396b05 FUJIWARA Katsunori <foozy@lares.dti.ne.jp> fsmonitor: use vfs instead of opener (issue5938) "opener" of localrepository object was dropped at Mercurial 4.3 (or a7e210167c28). "vfs" should be used instead. wlock is required to write into a file under .hg directory. For efficiency, we should change _cmpsets() from: 1. acquire wlock 2. open log file under .hg directory with write mode 3. compare between result of watchman and Mercurial's dirstate logic 4. write out error info into a file, if error is detected 5. release wlock to: 1. compare between result of watchman and Mercurial's dirstate logic 2. acquire wlock, if error is detected 3. open and write error info into a file 4. release wlock But this is another issue. (please test the fix)
Bug was set to TESTING for 7 days, resolving