[darcs-users] "Done removing from pending:" then a VERY long wait.

Eric Kow eric.kow at gmail.com
Thu Aug 2 10:45:42 UTC 2012


James,

On 17 Jul 2012, at 14:36, James Sleeman wrote:
> I've created a test repository which exhibits the problem, files are "sanitized" from my slow repo by munging the names and content in a consistent way so it structurally reflects what I have but doesn't have any real data in the files, just gibberish.
> 
> You can get the repo including unrecorded working files here:
>     https://s3.amazonaws.com/darcstestcase/darcs-test-repo.tar.bz2
>    (Sorry it is 180 Mb or so)

Thanks again for this, not just reporting your performance issue and posting a workaround but also going the extra mile to help us work out what's wrong.

It looks like there are a couple of issues here.

First, your pending file gets irrelevant stuff in it Owen did some digging and discovered at least thing that looks like a [bug][issue2212], which looks a bit like this:

    mkdir R
    cd R
    darcs init
    touch a b
    darcs add a
    darcs rec -am 'Add a'
    rm a
    darcs add b # why does the rm a get added to pending?

Second, even if that stuff did belong in pending (there may be a legitimate reason in some scenario other than yours), darcs should not be slow in figuring out that it's unrelated.  I'm not sure what's behind that.  We (darcs hackers) should look into it.

I've taken your problem as an opportunity to improve our documentation a bit by carving out a new performance FAQ page from our current FAQ.

    http://darcs.net/FAQ/performance

The current last question includes your recent findings.

Thanks!

Eric

[issue2212]: http://bugs.darcs.net/issue2212

-- 
Eric Kow <http://erickow.com>



More information about the darcs-users mailing list