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

Re: What's cooking in git.git (Jan 2013, #08; Tue, 22)

From
John Keeping <john@keeping.me.uk>
Date
Jan 23, 2013, 21:12 UTC
Message-ID
<20130123211237.GR7498@serenity.lan>
In-Reply-To
<7vsj5rhlfs.fsf@alter.siamese.dyndns.org>
On Wed, Jan 23, 2013 at 09:13:27AM -0800, Junio C Hamano wrote:
Show 30 quoted lines
> John Keeping <john@keeping.me.uk> writes:
> 
> > My preference would be for something like this, possibly with an
> > expanded examples section showing how to pipe the output of cvsps-3 or
> > cvs2git into git-fast-import:
> >
> > -- >8 --
> >
> > diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt
> > index 9d5353e..20b846e 100644
> > --- a/Documentation/git-cvsimport.txt
> > +++ b/Documentation/git-cvsimport.txt
> > @@ -18,6 +18,11 @@ SYNOPSIS
> >  
> >  DESCRIPTION
> >  -----------
> > +*WARNING:* `git cvsimport` uses cvsps version 2, which is considered
> > +deprecated; it does not work with cvsps version 3 and later.  If you are
> > +performing a one-shot import of a CVS repository consider using cvsps-3,
> > +cvs2git or parsecvs directly.
> > +
> >  Imports a CVS repository into git. It will either create a new
> >  repository, or incrementally import into an existing one.
> >  
> > -- 8< --
> 
> OK, that is certainly a lot simpler to explain.
> 
> Is it "it does not work yet with cvsps3", or "it will not ever work
> with cvsps3"?  The impression I am getting is that it is the latter.

The existing script (git-cvsimport.perl) won't ever work with cvsps-3 since features it relies on have been removed.

> Also, should we have a suggestion to people who are *not* performing
> a one-shot import, i.e. doing incremental or bidirectional?

As far as I know cvsps is the only backend that attempts to support partial exports but the support for that in its fast-export mode needs work before I would consider it reliable. For now the existing git-cvsimport is the best option I'm aware of.

John
Previous: Junio C HamanoNext: Junio C Hamano
Message 8 of 15 in “What's cooking in git.git (Jan 2013, #08; Tue, 22)”
  1. Junio C HamanoJan 22, 2013
  2. John KeepingJan 22, 2013
  3. Junio C HamanoJan 23, 2013
  4. John KeepingJan 23, 2013
  5. Chris RorvickJan 23, 2013
  6. John KeepingJan 23, 2013
  7. Junio C HamanoJan 23, 2013
  8. John KeepingJan 23, 2013
  9. Junio C HamanoJan 24, 2013
  10. git-cvsimport.txt: cvsps-2 is deprecatedJohn Keeping, Jan 24, 2013
  11. Junio C HamanoJan 24, 2013
  12. John KeepingJan 24, 2013
  13. Junio C HamanoJan 24, 2013
  14. Chris RorvickJan 25, 2013
  15. John KeepingJan 25, 2013

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.