From: Ivan Shmakov Date: Sun, 11 Nov 2007 04:05:13 GMT Subject: Re: tracking remotes with Git Message-ID: In-Reply-To: <200711092138.56277.robin.rosenberg.lists@dewire.com> >>>>> Robin Rosenberg writes: [...] >> * it looks like `git-cvsimport' uses its own CVS protocol >> implementation which doesn't support compression; I've tried to >> clone a repository of a project hosted in CVS since circa 1998 and >> it 20 MiB or so to obtain revisions until 2000 or so; any ways to >> minimize traffic? > You can pass options to cvsps. My guess is -P "-Z" will do it. Well, this helps somewhat. But still, IIUC, cvsps(1) is used only to reconstruct the ``patch sets'', and to fetch the actual revisions, `git-cvsimport' contacts the CVS repository directly: --cut: $ nl -ba git-cvsimport-- ... 182 package CVSconn; 183 # Basic CVS dialog. 184 # We're only interested in connecting and downloading, so ... 185 ... not a word about the compression... 482 package main; 483 484 my $cvs = CVSconn->new($opt_d, $cvs_tree); ... 911 print "Fetching $fn v $rev\n" if $opt_v; 912 my ($tmpname, $size) = $cvs->file($fn,$rev); ... 930 unlink($tmpname); ... --cut: $ nl -ba git-cvsimport--