git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: tracking remotes with Git

From
ISIvan Shmakov <ivan@theory.asu.ru>
Date
Nov 11, 2007, 04:05 UTC
Message-ID
<m24pftmnpi.fsf@cherry.siamics.int>
In-Reply-To
<200711092138.56277.robin.rosenberg.lists@dewire.com>
>>>>> Robin Rosenberg <robin.rosenberg.lists@dewire.com> 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--
Previous: Robin RosenbergNext: Ivan Shmakov
Message 5 of 6 in “tracking remotes with Git”
  1. Ivan ShmakovNov 9, 2007
  2. Michael PooleNov 9, 2007
  3. Ivan ShmakovNov 9, 2007
  4. Robin RosenbergNov 9, 2007
  5. Ivan ShmakovNov 11, 2007
  6. Ivan ShmakovNov 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.