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

Re: Towards CVS code-exchange and gateways

From
Junio C Hamano <junkio@cox.net>
Date
Oct 26, 2005, 00:25 UTC
Message-ID
<7vr7a9azvn.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<46a038f90510251357l23886747s8024a4326ad4e392@mail.gmail.com>
Martin Langhoff <martin.langhoff@gmail.com> writes:
> Is there anyone working on a git -> cvs gateway or similar scripts?

Working on, no, but I was thinking about something like that at work (today is my non-git day but I use git on top of CVS to track my private changes in my CVS work tree which is my git repo there).

I maintain at 'cvs' and 'master' branch (and other git branches) there, and always 'git-checkout cvs' before doing 'cvs update', and do 'git-commit' to slurp in the changes to the cvs side. Then 'git checkout master ; git pull . cvs' to sync the master side, work on a bit, commit. Showing what I've done to the CVS side, currently I do something like this:

      $ git-checkout cvs
      $ git pull . master
      $ git log ORIG_HEAD.. >L
      $ cvs commit -F L

This isn't that bad because I do not care much about how the development history on the CVS side looks like. But propagating each git commit separately to CVS side would be much better, and what you outlined should work nicely.

Previous: Martin LanghoffNext: Martin Langhoff
Message 2 of 6 in “Towards CVS code-exchange and gateways”
  1. Martin LanghoffOct 25, 2005
  2. Junio C HamanoOct 26, 2005
  3. Martin LanghoffOct 26, 2005
  4. Petr BaudisOct 26, 2005
  5. Martin LanghoffOct 26, 2005
  6. Petr BaudisOct 26, 2005

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.