Crushed by a giant packfile
bialix at ukr.net
Wed Nov 25 20:17:20 GMT 2009
Chris McCormick пишет:
> Hi All,
> I've RTFM and done a bit of an internet search, but I can't find anything which
> will help me with my problem, which i this: our otherwise small repository of
> web code has one giant 250mb pack file which means a fresh checkout takes ages
> on our slow connection. I am wondering if there is some way to find out which
> change introduced this huge pack file, or compress it, or some other strategy
> to make our repository more manageable which doesn't involve us starting our
> revision history from scratch? Sorry if this question is cheeky.
Try to clone your trunk outside you shared repository and check the size of packs.
If 250MB will gone after the cloning -- this is good sign.
Otherwise you need inspect the history, found the big file (I suppose: added by mistake and then
deleted), and rewrite the history with fast-import-filter or rebase.
More information about the bazaar