[darcs-devel] [issue1756] darcs unpull leaves a bad index behind in a darcs2 repo

Attila Lendvai bugs at darcs.net
Wed Mar 3 14:31:55 UTC 2010


New submission from Attila Lendvai <attila.lendvai at gmail.com>:

unfortunately the repo contains sensitive data, so i can't send it.

i'm trying to convert a branched project to darcs2, but both branches 
evolved, so i need to create a repo with all the patches. this repo is 
such a try, although pulling all patches is exponential... but the point 
is that it has loads of conflicting patches, up to the limit still 
pullable in a darcs1 repo.

then i've converted that repo to darcs2. then i darcs get it to unpull 
patches to form the darcs2 repo of one of the branches.



alendvai at ed101:~/Desktop/conversion$ darcs --version                      
2.4 (release)
alendvai at ed101:~/Desktop/conversion$ darcs get merge.without-deadly-
conflicts.darcs2/ delme
Copying patches, to get lazy repository hit ctrl-C...
Finished getting.                                             
alendvai at ed101:~/Desktop/conversion$ cd delme/                
alendvai at ed101:~/Desktop/conversion/delme$ darcs check --complete
The repository is consistent!                                                   
alendvai at ed101:~/Desktop/conversion/delme$ darcs unpull                         
Wed Jan 13 11:22:37 CET 2010  levente.meszaros at gmail.com
  * Refactor www according to new structure.
Shall I unpull this patch? (1/86)  [ynWvplxdaqjk], or ? for help: a
Really unpull all undecided patches? y
Finished unpulling.
alendvai at ed101:~/Desktop/conversion/delme$ darcs check --complete
The repository is consistent!                                                   
Hash mismatch(es)!
notes
    index: 
c60e6dbbc670805cac905cbf336ba403cbf8399b5d57047e4acc61a77c0b47f6
  working: 
5fb6151cb223d4857a38635ed0bc369366bb07af0d99aaa595770f3c75aa39a0

Bad index.
alendvai at ed101:~/Desktop/conversion/delme$ darcs repair
The repository is already consistent, no changes made.                          
Hash mismatch(es)!
notes
    index: 
c60e6dbbc670805cac905cbf336ba403cbf8399b5d57047e4acc61a77c0b47f6
  working: 
5fb6151cb223d4857a38635ed0bc369366bb07af0d99aaa595770f3c75aa39a0

Bad index discarded.
alendvai at ed101:~/Desktop/conversion/delme$ darcs check --complete               
The repository is consistent!                                                   
alendvai at ed101:~/Desktop/conversion/delme$

----------
messages: 10109
nosy: attila.lendvai, darcs-devel, dmitry.kurochkin
status: unknown
title: darcs unpull leaves a bad index behind in a darcs2 repo

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


More information about the darcs-devel mailing list