Bullshit error message "too many open files" on commit. Goes away after restarting thg
Created originally on Bitbucket by teo8976 (Teo Tei)
I use THG all the time, often keeping a handful of repos open in different tabs, and I commit, push and pull on them alternatively as I work on several projects at the same time.
Today, when attempting to commit on one of the repos I had open, I got this error:
I didn’t try to do commits on other repos, but I did succesfully do a push on another repo open in a separate tab.
After restarting THG and retrying, I could do the commit succesfully.
Whatever the error is, it obviously shouldn’t happen in the first place (no matter what “too many open files” means, you shouldn’t open too many files), but also, the error message should give more information. What kind of files? Open by whom? What am I supposed to do about it?