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

Re: git-cvsexportcommit and commit date

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Feb 10, 2008, 16:17 UTC
Message-ID
<200802101717.32747.robin.rosenberg.lists@dewire.com>
In-Reply-To
<5f4b18bf0802100801t20952180u6afd1eeaf2fac17@mail.gmail.com>
söndagen den 10 februari 2008 skrev Derek Mahar:
Show 12 quoted lines
> On Feb 10, 2008 8:15 AM, Robin Rosenberg
> <robin.rosenberg.lists@dewire.com> wrote:
> > söndagen den 10 februari 2008 skrev Derek Mahar:
> > As I recall it (I'm using fromcvs, not git-cvsimport) cvs HEAD get imported
> > into origin which on initial import gets copied to master. So I think you
> > should git rebase origin
> 
> When it drops the extra commit, is there a way to ask git-rebase to
> keep the textual change of the original commit, but use the commit
> information from the imported CVS commit?  This way, the resulting Git
> repository would match that of another user who performs an initial
> git-cvsimport of the entire CVS repository.

No, for that to happen the full history must match. Maybe theoretically possible, but then, in theory, you could use only Git and not worry about CVS.

If you involve CVS (or any other SCM) you must rebase on top of the CVS imported version, whether your repo is a clone or not. The changed commit to me also means I can see wheter it s a pure git checkin or whether it is from the official CVS repo, which is a "good" thing.

> Can fromcvs read from a remote CVS repository via pserver or does it
> only parse the RCS files directly?  I have only pserver access to our
> CVS repo,

RCS only. Note that sometimes you have rsync access. If not politely ask the admin of the repo that you get read access to the raw files. (the CVSROOT/* files are not needed in case that is a concern).

-- robin
Previous: Derek MaharNext: Derek Mahar
Message 8 of 9 in “Re: git-cvsexportcommit and commit date”
  1. Martin LanghoffFeb 6, 2008
  2. Derek MaharFeb 10, 2008
  3. Robin RosenbergFeb 10, 2008
  4. Derek MaharFeb 10, 2008
  5. Derek MaharFeb 10, 2008
  6. Robin RosenbergFeb 10, 2008
  7. Derek MaharFeb 10, 2008
  8. Robin RosenbergFeb 10, 2008
  9. Derek MaharFeb 10, 2008

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.