https://bugzilla.wikimedia.org/show_bug.cgi?id=44129

--- Comment #41 from Krinkle <krinklem...@gmail.com> ---
I tried the trick saper mentioned about using another git remote (e.g the
git.wikimedia.org mirror) to fix it up.



$ git fetch origin
..
fatal: pack has 26 unresolved deltas
fatal: index-pack failed


$ git remote add mirror https://git.wikimedia.org/git/mediawiki/core.git

$ git remote -v
mirror    https://git.wikimedia.org/git/mediawiki/core.git (fetch)
mirror    https://git.wikimedia.org/git/mediawiki/core.git (push)
origin    https://gerrit.wikimedia.org/r/p/mediawiki/core.git (fetch)
origin    https://gerrit.wikimedia.org/r/p/mediawiki/core.git (push)

$ git fetch mirror
remote: Counting objects: 3886, done
remote: Finding sources: 100% (1927/1927)
remote: Getting sizes: 100% (3130/3130)
remote: Compressing objects:  99% (59991/60007)
remote: Total 1927 (delta 716), reused 1044 (delta 495)
Receiving objects: 100% (1927/1927), 14.18 MiB | 2.99 MiB/s, done.
Resolving deltas:  75% (903/1197), completed with 170 local objects.
fatal: pack has 294 unresolved deltas
fatal: index-pack failed

# Still fails.. Trying again with limited depth

$ git fetch -k --depth 1 mirror
remote: Counting objects: 9253, done
remote: Finding sources: 100% (9253/9253)
remote: Getting sizes: 100% (8258/8258)
remote: Compressing objects:  99% (165096/165109)
remote: Total 9253 (delta 2901), reused 4979 (delta 978)
Receiving objects: 100% (9253/9253), 55.62 MiB | 3.59 MiB/s, done.
Resolving deltas: 100% (3895/3895), done.
From https://git.wikimedia.org/git/mediawiki/core
 * [new branch]      wmf/1.23wmf16 -> mirror/wmf/1.23wmf16
 * [new tag]         1.22.3     -> 1.22.3

# That's better, now trying origin again

$ git remote rm mirror
$ git fetch origin
remote: Counting objects: 14492, done
remote: Finding sources: 100% (8/8)
remote: Getting sizes: 100% (2/2)
remote: Compressing objects: 100% (7196/7196)
remote: Total 8 (delta 4), reused 5 (delta 4)
Unpacking objects: 100% (8/8), done.
fatal: unresolved deltas left after unpacking
fatal: unpack-objects failed


--


Still broken..

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to