| I got this too. Short-term workaround, either of the following under "Orphaned Item Strategy":
- Switch off "Discard old items" entirely, and take care of that by hand
- Set positive number in "Max # of old items to keep"/"Days to keep old items".
Your mileage may vary depending on how often your Mercurial server goes down. Having dug into this a bit, I believe the orphaned item stuff is behaving as expected. The curious bit is the "Could not use caches, not fetching branch heads" error. Looking in MercurialSCMSource.java it simply returns if the cache is null. Should this not be throwing an exception instead? The knock-on effect seems to be that the orphaned item strategy kicks in and all the branches are marked as closed. I would expect the polling to abort entirely if the cache is not available/working. |