Re: Git vs SVN (was: Can we improve things?)



On 9/14/07, Alexander Larsson <alexl redhat com> wrote:
> On Thu, 2007-09-13 at 21:39 +0200, Olav Vitters wrote:
>
> > I think one of 2 things:
> > 1. Because /cvs/gnome was a repos, and /svn is not. E.g., under CVS, you
> > couldn't (IIRC) create something under /cvs, but you could under SVN.
> > 2. CVS was smart enough to create the repos
> >
> > If you check svn help import you see:
> > import: Commit an unversioned file or tree into the repository.
> >
> > "into the repository" ... it isn't smart enough to create the repos
> >
> > e.g., see the error message:
> > svn: No repository found in 'svn+ssh://svn.gnome.org/svn/foobar'
> >
> >
> > This is why I proposed testingground.. if that would exist, you could
> > create a repos there. However, later on, you want to move that into a
> > real repos. IMO that might be nice on short term, not on long term
> > (needs to be a real repos, dump&load work, etc).
>
> Does this work though? I mean, if testingground is a single module, is
> it really possible to extract the version history for a single
> subdirectory and create a new svn module from that?

Yes, using a command called "svndumpfilter".  You'd have to not care
about your revision numbers being resequenced.

Sandy



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]