]> git.michaelhowe.org Git - packages/b/bup.git/commit
git.py: recover more elegantly if a MIDX file has the wrong version.
authorAvery Pennarun <apenwarr@gmail.com>
Thu, 2 Sep 2010 21:26:25 +0000 (14:26 -0700)
committerAvery Pennarun <apenwarr@gmail.com>
Thu, 2 Sep 2010 21:26:25 +0000 (14:26 -0700)
commitd6b576b029da7519b8f4c9e9b024576d4e74e66d
tree5f6800631d63bdafde6b390471a0a914e2a10add
parent70805a1deacbc31f87bd1f31ab880d2c176c61db
git.py: recover more elegantly if a MIDX file has the wrong version.

Previously we'd throw an assertion for any too-new-format MIDX file, which
isn't so good.  Let's recover more politely (and just ignore the file in
question) if that happens.

Noticed by Zoran Zaric who was testing my midx3 branch.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
lib/bup/git.py