git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Any tricks for speeding up cvsps?
@ 2008-02-08  9:24 Paul Gardiner
  2008-02-08  9:48 ` Karl Hasselström
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Paul Gardiner @ 2008-02-08  9:24 UTC (permalink / raw)
  To: git

Hi,

I'm trying to convert a huge cvs repository. I've left cvsps running for 
days. First attempt, stderr filled my disc with warnings about tags that
couldn't be associated with any one commit, without producing anything
from stdout. I'm now redirecting stderr to /dev/null, but it still just
sits there producing nothing.  Is git-cvsimport infeasible for large
repositories, or are there tricks I might use?

P.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Any tricks for speeding up cvsps?
  2008-02-08  9:24 Any tricks for speeding up cvsps? Paul Gardiner
@ 2008-02-08  9:48 ` Karl Hasselström
  2008-02-08 12:02   ` Michael Haggerty
  2008-02-08  9:57 ` Johannes Sixt
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Karl Hasselström @ 2008-02-08  9:48 UTC (permalink / raw)
  To: Paul Gardiner; +Cc: git

On 2008-02-08 09:24:44 +0000, Paul Gardiner wrote:

> I'm trying to convert a huge cvs repository. I've left cvsps running
> for days. First attempt, stderr filled my disc with warnings about
> tags that couldn't be associated with any one commit, without
> producing anything from stdout. I'm now redirecting stderr to
> /dev/null, but it still just sits there producing nothing. Is
> git-cvsimport infeasible for large repositories, or are there tricks
> I might use?

This topic comes up on the list every once in a while; try searching
the list archives.

I seem to recall that for heavy imports, the Subversion CVS importer
is popular. I don't know if it can give you a git repository directly,
or if you'll have to go via svn.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Any tricks for speeding up cvsps?
  2008-02-08  9:24 Any tricks for speeding up cvsps? Paul Gardiner
  2008-02-08  9:48 ` Karl Hasselström
@ 2008-02-08  9:57 ` Johannes Sixt
  2008-02-08 10:11   ` Paul Gardiner
  2008-02-08 12:23 ` Johannes Schindelin
  2008-02-08 12:24 ` Jakub Narebski
  3 siblings, 1 reply; 9+ messages in thread
From: Johannes Sixt @ 2008-02-08  9:57 UTC (permalink / raw)
  To: Paul Gardiner; +Cc: git

Paul Gardiner schrieb:
> I'm trying to convert a huge cvs repository. I've left cvsps running for
> days. First attempt, stderr filled my disc with warnings about tags that
> couldn't be associated with any one commit, without producing anything
> from stdout. I'm now redirecting stderr to /dev/null, but it still just
> sits there producing nothing.  Is git-cvsimport infeasible for large
> repositories, or are there tricks I might use?

I've used fast-export (not git-fast-export) to convert a CVS repository:

http://repo.or.cz/w/fast-export.git

It worked better than git-cvsimport because the repository was a real mess.

-- Hannes

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Any tricks for speeding up cvsps?
  2008-02-08  9:57 ` Johannes Sixt
@ 2008-02-08 10:11   ` Paul Gardiner
  2008-02-08 10:33     ` Johannes Sixt
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Gardiner @ 2008-02-08 10:11 UTC (permalink / raw)
  To: git

Johannes Sixt wrote:
> I've used fast-export (not git-fast-export) to convert a CVS repository:
> 
> http://repo.or.cz/w/fast-export.git
> 
> It worked better than git-cvsimport because the repository was a real mess.

That looks to require going either via svn or mercurial. Is that right?
And if so, which did you find best?

P.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Any tricks for speeding up cvsps?
  2008-02-08 10:11   ` Paul Gardiner
@ 2008-02-08 10:33     ` Johannes Sixt
  2008-02-09  8:32       ` Paul Gardiner
  0 siblings, 1 reply; 9+ messages in thread
From: Johannes Sixt @ 2008-02-08 10:33 UTC (permalink / raw)
  To: Paul Gardiner; +Cc: git

Paul Gardiner schrieb:
> Johannes Sixt wrote:
>> I've used fast-export (not git-fast-export) to convert a CVS repository:
>>
>> http://repo.or.cz/w/fast-export.git
>>
>> It worked better than git-cvsimport because the repository was a real
>> mess.
> 
> That looks to require going either via svn or mercurial. Is that right?
> And if so, which did you find best?

You are right. Because I'm utterly confused. I actually used fromcvs/togit:

http://ww2.fs.ei.tum.de/~corecode/hg/fromcvs

Please bear with me; I did this about a year ago. Sorry for the noise.

Be warned that fromcvs/togit does not convert tags.

-- Hannes

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Any tricks for speeding up cvsps?
  2008-02-08  9:48 ` Karl Hasselström
@ 2008-02-08 12:02   ` Michael Haggerty
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Haggerty @ 2008-02-08 12:02 UTC (permalink / raw)
  To: Karl Hasselström; +Cc: Paul Gardiner, git

Karl Hasselström wrote:
> On 2008-02-08 09:24:44 +0000, Paul Gardiner wrote:
> 
>> I'm trying to convert a huge cvs repository. I've left cvsps running
>> for days. First attempt, stderr filled my disc with warnings about
>> tags that couldn't be associated with any one commit, without
>> producing anything from stdout. I'm now redirecting stderr to
>> /dev/null, but it still just sits there producing nothing. Is
>> git-cvsimport infeasible for large repositories, or are there tricks
>> I might use?
> 
> This topic comes up on the list every once in a while; try searching
> the list archives.
> 
> I seem to recall that for heavy imports, the Subversion CVS importer
> is popular. I don't know if it can give you a git repository directly,
> or if you'll have to go via svn.

The trunk version of cvs2svn [1] can convert directly from CVS to git,
including branches and tags.  Recently I wrote up better documentation
[2] for using cvs2svn to convert to git.

Please direct suggestions, bug reports, or offers of help to the cvs2svn
mailing lists [3] or irc channel [4].

Michael Haggerty

[1] http://cvs2svn.tigris.org
[2] http://cvs2svn.tigris.org/cvs2git.html
[3] http://cvs2svn.tigris.org/servlets/ProjectMailingListList
[4] irc.freenode.net, channel #cvs2svn

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Any tricks for speeding up cvsps?
  2008-02-08  9:24 Any tricks for speeding up cvsps? Paul Gardiner
  2008-02-08  9:48 ` Karl Hasselström
  2008-02-08  9:57 ` Johannes Sixt
@ 2008-02-08 12:23 ` Johannes Schindelin
  2008-02-08 12:24 ` Jakub Narebski
  3 siblings, 0 replies; 9+ messages in thread
From: Johannes Schindelin @ 2008-02-08 12:23 UTC (permalink / raw)
  To: Paul Gardiner; +Cc: git

Hi,

On Fri, 8 Feb 2008, Paul Gardiner wrote:

> I'm trying to convert a huge cvs repository. I've left cvsps running for 
> days. First attempt, stderr filled my disc with warnings about tags that 
> couldn't be associated with any one commit, without producing anything 
> from stdout. I'm now redirecting stderr to /dev/null, but it still just 
> sits there producing nothing.  Is git-cvsimport infeasible for large 
> repositories, or are there tricks I might use?

The obvious thing is to have the CVS repository locally.  And then on a 
ramdisk.

Hth,
Dscho

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Any tricks for speeding up cvsps?
  2008-02-08  9:24 Any tricks for speeding up cvsps? Paul Gardiner
                   ` (2 preceding siblings ...)
  2008-02-08 12:23 ` Johannes Schindelin
@ 2008-02-08 12:24 ` Jakub Narebski
  3 siblings, 0 replies; 9+ messages in thread
From: Jakub Narebski @ 2008-02-08 12:24 UTC (permalink / raw)
  To: Paul Gardiner; +Cc: git

Paul Gardiner <osronline@glidos.net> writes:

> I'm trying to convert a huge cvs repository. I've left cvsps running
> for days. First attempt, stderr filled my disc with warnings about
> tags that couldn't be associated with any one commit, without
> producing anything from stdout. I'm now redirecting stderr to
> /dev/null, but it still just sits there producing nothing.  Is
> git-cvsimport infeasible for large repositories, or are there tricks
> I might use?

Please check other tools to import from CVS; they are mentioned
on the

  http://git.or.cz/gitwiki/InterfacesFrontendsAndTools

wiki page ("Interaction with other Revision Control Systems" section)
-- 
Jakub Narebski
Poland
ShadeHawk on #git

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Any tricks for speeding up cvsps?
  2008-02-08 10:33     ` Johannes Sixt
@ 2008-02-09  8:32       ` Paul Gardiner
  0 siblings, 0 replies; 9+ messages in thread
From: Paul Gardiner @ 2008-02-09  8:32 UTC (permalink / raw)
  To: git

Johannes Sixt wrote:
> Paul Gardiner schrieb:
>> Johannes Sixt wrote:
>>> I've used fast-export (not git-fast-export) to convert a CVS repository:
>>>
>>> http://repo.or.cz/w/fast-export.git
>>>
>>> It worked better than git-cvsimport because the repository was a real
>>> mess.
>> That looks to require going either via svn or mercurial. Is that right?
>> And if so, which did you find best?
> 
> You are right. Because I'm utterly confused. I actually used fromcvs/togit:
> 
> http://ww2.fs.ei.tum.de/~corecode/hg/fromcvs
> 
> Please bear with me; I did this about a year ago. Sorry for the noise.
> 
> Be warned that fromcvs/togit does not convert tags.

That's amazing. Less than an hour to for the initial conversion,
and just minutes to progressively sync up.

Thanks to everyone for all the usefull feedback I've received here.

Cheers,
	Paul.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-02-09  8:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08  9:24 Any tricks for speeding up cvsps? Paul Gardiner
2008-02-08  9:48 ` Karl Hasselström
2008-02-08 12:02   ` Michael Haggerty
2008-02-08  9:57 ` Johannes Sixt
2008-02-08 10:11   ` Paul Gardiner
2008-02-08 10:33     ` Johannes Sixt
2008-02-09  8:32       ` Paul Gardiner
2008-02-08 12:23 ` Johannes Schindelin
2008-02-08 12:24 ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).