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

Re: All I wanted was git-fast-export

From
PGPaul Gardiner <osronline@glidos.net>
Date
Feb 9, 2008, 22:44 UTC
Message-ID
<47AE2CDF.4090208@glidos.net>
In-Reply-To
<alpine.LSU.1.00.0802091803580.11591@racer.site>
Johannes Schindelin wrote:
Show 11 quoted lines
> Hi,
> 
> On Sat, 9 Feb 2008, Paul Gardiner wrote:
> 
>> With your kind help, I've been able to convert a cvs repository
>> to git, but the last several years commits start with a line
>> saying "Summary;" :-(  I thought it might not be hard to put
>> a filter between git-fast-export and git-fast-import to sort
>> it out.
> 
> The better tool for this should be filter-branch.

filter-branch does look to be brilliant for this sort of thing, but I don't think I can use it in my case. The git repository in question is a mirror of a live cvs repository, which I need to keep synced up. What I was thinking was to repeatedly do:

   cvs rep  =>  git rep   => tidied git rep

using fromcvs/togit for the first step, and git-fast-export/git-fast-import for the second. It doesn't look to be the case that filter-branch can be used with the source and target repositories being different, and if I tried having one git repository that I applied tidying to, then I don't think the syncing process would work afterwards... or would it? Do you thing that changing commit messages would mess up subsequent syncing? I guess I could try it and see.

I think I need git 1.5.4 either way, and I still haven't found a way to get that installed under SuSE 10.3

P.
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 9 in “All I wanted was git-fast-export”
  1. Paul GardinerFeb 9, 2008
  2. Johannes SchindelinFeb 9, 2008
  3. Paul GardinerFeb 9, 2008
  4. Johannes SchindelinFeb 10, 2008
  5. Paul GardinerFeb 10, 2008
  6. Johannes SchindelinFeb 10, 2008
  7. Paul GardinerFeb 10, 2008
  8. Paul GardinerFeb 13, 2008
  9. Paul GardinerFeb 17, 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.