On Tue, Mar 11, 2014 at 7:20 PM, Andreas Kupries <andre...@activestate.com>wrote:
> It is a pity that it is not really possible to convert a repository > from non-delta to use of deltas after the fact, to shrink it. > > i think i might have an approach - untested, as i don't use git in my free time... 1) export to git format, however that is done in fossil. 2) hack checkin.c, currently near line 1516: if( !forceDelta && !db_get_boolean("seen-delta-manifest",0) ){ forceBaseline = 1; } Swap that 0 at the end of the first line with a 1, and it "should" start defaulting deltas. 3) Import the git dump to a new fossil repo. That "should" recreate everything(?), using deltas where it can. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users