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

Re: Fwd: Fwd: git cvsimport implications

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
May 18, 2013, 05:52 UTC
Message-ID
<51971703.5070700@alum.mit.edu>
In-Reply-To
<CAPZPVFbkcmBH7OPeP83gPnSGodoi_9diAUk-5dtR43dCDRfkwQ@mail.gmail.com>
On 05/17/2013 06:10 PM, Eugene Sajine wrote:
Show 10 quoted lines
> MIchael, sorry for dup - didn't press reply all for the first one.
> 
>>
>> So what are you going to do, use cvsimport whenever you cannot *prove*
>> that it is wrong?  You sure have low standards for your software.
> 
> 1. You are making assumptions and conclusions that have no grounds.
> I asked for help understanding what are the problems of cvsimport.
> Never i said i'm not willing use cvs2git. Never i said I'm happy to have
> problems in my git repos. So, this "low standard" punch was... not necessary.

I didn't mean to be offensive. I meant it more in the sense of "you deserve to expect more from your software".

Show 11 quoted lines
> 2. I started to use cvsimport because it was the tool *provided with
> git* about three years ago.
> By that time i didn't find any better and simpler tool to use and
> those implications were uknown for me,
> they were brought up to my attention just recently.
> CVS is not good for branches, so most of our projects didn't have any
> cvs branches.
> So for majority of those it seems that the cvsimport did it's job just fine.
> Now we are going to try to migrate some projects that are using CVS
> branches heavily.
> That concerns me, so i'm looking for better tool.

The Git test suite (tests t/t960?-*.sh) demonstrates some of the known problems with cvsimport, and those failures are summarized in the manpage for git-cvsimport(1). Not all of the problems are related to branches and tags. There might be more problems; I simply documented a few that I found relatively quickly then I stopped looking.

Show 8 quoted lines
> 3. Is there a way to have the whole plumbing with the
> blobfiles and dumpfiles and consequent git fast-import wrapped into
> nice command like:
> 
> git cvsimport -C path/to/my/new/shiny/gitrepo
> 
> Or are there any particular reasons why end user must deal with blob
> and dump files and do fast-import afterwards?

There are benefits to the split blobfile/dumpfile approach for some users, so I wouldn't want to get rid of that possibility. But there's no reason I wouldn't accept a patch that provides an option to convert as you describe. Alternately, it would take only a few lines of script to automate it yourself.

Michael
-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Previous: Eugene Sajine
Message 13 of 13 in “Fwd: git cvsimport implications”
  1. Eugene SajineMay 14, 2013
  2. Junio C HamanoMay 14, 2013
  3. Michael HaggertyMay 15, 2013
  4. Eugene SajineMay 15, 2013
  5. Michael HaggertyMay 17, 2013
  6. John KeepingMay 17, 2013
  7. Martin LanghoffMay 17, 2013
  8. Michael HaggertyMay 17, 2013
  9. Andreas KreyMay 17, 2013
  10. Martin LanghoffMay 17, 2013
  11. Michael HaggertyMay 17, 2013
  12. Fwd: Fwd: git cvsimport implicationsEugene Sajine, May 17, 2013
  13. Michael HaggertyMay 18, 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.