[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Remote cvs2svn

From: John P Cavanaugh <cavanaug_at_netspan.soco.agilent.com>
Date: 2002-12-03 22:14:14 CET

On Mon, Dec 02, 2002 at 06:31:44PM -0800, Greg Stein wrote:
> I'll strongly second Daniel's points here. cvs2svn was built entirely with
> the idea of having the ,v files available for reading.
>
> On Mon, Dec 02, 2002 at 04:38:14PM -0500, Daniel Berlin wrote:
> > On Mon, 2 Dec 2002, Blair Zajac wrote:
> > > In looking at cvs2svn, it appears to only work on CVS repositories
> > > that you have a copy of.
> > >
> > > For projects that it's not easy to get hold of to CVS repository,
> > > it would be useful to have cvs2svn work on remote repositories
> > > (i.e. via :pserver:).
> > >
> > > How easy/hard would this be?
> >
> > Impossible.
> > Well, I guess it's not technically impossible, but it would be slower than
> > molasses and hard on the server.
>
> No, actually I believe it *is* technically impossible. IIRC, the "cvs log"
> output does not fully detail the revision graph when branches are present.
> It isn't always possible to determine the predecessor revision in certain
> cases. And especially if somebody forces specific revision numbers -- you
> can't just say "1.(rev-1)" to figure out the predecessor.
>
> The ,v files, on the other hand, *do* contain all of the predecessor
> information, so it can properly compute the branch graph for conversion.

I submitted a patch to cvs eons ago that added a -x (for extended) flag to
cvs log that *will* provide this predecessor information. Its a shame that
it never made it into the cvs tree, like several of my other patches...

Oh well. I cant wait to just switch to subversion.

-----------------------------------------------------------------------
    John Cavanaugh Agilent Technologies
    R&D Program Manager 1400 Fountaingrove Pkwy
    Wireless Network Solutions Santa Rosa, CA 95403-1799

    Email: cavanaug@soco.agilent.com Phone: 707-577-4780
                                                707-577-3948 (Fax)
-----------------------------------------------------------------------
       There are two major products to come out of Berkeley:
      LSD and UNIX. We don't believe this to be a coincidence.
                                                   -- Unknown
-----------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 25 17:56:33 2003

This is an archived mail posted to the Subversion Dev mailing list.