[darcs-devel] [issue1677] pristine problems with darcs 2.3

Trent W. Buck bugs at darcs.net
Tue Jan 19 01:35:52 UTC 2010


Trent W. Buck <trentbuck at gmail.com> added the comment:

[Eric: I hope this is the right ticket!]

Kevin Quick wrote:
> Hash mismatch(es)!
> d1/d2/d3/d5
>     index: 0000000000000000000000000000000000000000000000000000000000000000
>   working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Here's the minimal test:

    $ PATH=~/.cabal/bin-x86_64:$PATH with-temp-dir bash -c 'darcs --version; darcs --exact-version | sed /]/q; darcs init; mkdir d; darcs rec -qlamd; darcs check'
    with-temp-dir: entering directory `/tmp/with-temp-dir.9Sfr21'
    2.3.1 (+ 426 patches)
    darcs compiled on Jan 10 2010, at 14:41:15

    Context:

    [Resolve issue1720:  Fix cabal haddock problem.
    Dave Love <fx at gnu.org>**20100106162322
     Ignore-this: 1521b3a742711ac3ee979efc765f6b61
    ]
    Finished recording patch 'd'
    The repository is consistent!
    Hash mismatch(es)!
    d
        index: 0000000000000000000000000000000000000000000000000000000000000000
      working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

    Bad index.
    with-temp-dir: leaving directory `/tmp/with-temp-dir.9Sfr21'
    $

It is no longer present with hashed-storage 0.4.5:

    $ PATH=~/.cabal/bin-linux:$PATH with-temp-dir bash -c 'darcs --version; darcs --exact-version | sed /]/q; darcs init; mkdir d; darcs rec -qlamd; darcs check'
    with-temp-dir: entering directory `/tmp/with-temp-dir.1B8tE9'
    2.3.1 (+ 437 patches)
    darcs compiled on Jan 19 2010, at 11:29:30

    Context:

    [resolve issue1731: bump hashed-storage dependency to 0.4.5
    Reinier Lamers <tux_rocker at reinier.de>**20100117205223
     Ignore-this: c6e300b3c56d85b425306530b4d6c7be
    ]
    Finished recording patch 'd'
    The repository is consistent!
    with-temp-dir: leaving directory `/tmp/with-temp-dir.1B8tE9'
    $

Remind me to submit a regression test for this, then we can close this ticket.

----------
nosy: +twb
status: resolved -> unknown

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1677>
__________________________________


More information about the darcs-devel mailing list