Hi James, On 16 July 2012 15:00, James Sleeman <[email protected]> wrote: > Partly this is to partly report bug, and partly to document a solution > where darcs is getting stuck or being very very VERY slow at "Removing > from pending:" or "Done removing from pending:" when recording changes, > possibly particularly when adding new files.
Thanks on both fronts! I'm going to add some comments/questions inline to try and figure out what could be going on. > Short version for people from the future (http://xkcd.com/979/); if you > find yourself in a performance blackhole when trying to record patches, try > doing a darcs get to create a fresh copy of the repo and record your > changes in there. I'm certainly suspicious what the state of the repo is prior to you trying to record. > So here's the situation, adding a bunch of stuff to an existing > repository, in total around 70 meg, but I tried splitting it up into small > patches (by recording some sub directories individually) to be kind, up to > about 10 m would be the largest total patch. > > These are new files the repo has never seen before. They are mostly > textual. > > It was taking an AGE, and I mean GLACIAL. So, what you're saying here is that you've created a bunch of new largish (~10MB) files, which contain mostly textual data, and when trying to record a patch to add them, darcs seemingly hangs. [... snip stuff about pending, which is a clue!...] > Further Information For Darcs Developers If It Helps > ----------------------------------------------------- darcs optimize, and > optimize --reorder both run, no affect, darcs check reported no problems. > > strace for a few seconds while the old repo it is in this churning state is > here: http://sirius.gogo.co.nz/d.txt but it doesn't look very interesting > to me. I've got no real idea what's happening here, but I'd guess it's the case that the darcs binary is simply sitting there computing. > Darcs version 2.8 (static build downloaded from website), same deal with > 2.7.99.1 (Ubuntu 12.04 default). > > If there is anything else I can do (aside from posting the repo, which > unfortunately is all confidential like :-/), happy to help. Can you give a step-by step to reproduce the problem? I'd bet there's some sort of pending patch that is causing a complicated patch commutation to take place - which is giving the appearance of a hang. I can't think of what it would be off the top of my head, but you might be able to determine something by looking at _darcs/patches/pending in the affected repo. Cheers, Owen.
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
