Re: Moving to git - Mailing list pgsql-jdbc

From Kjetil Nygård
Subject Re: Moving to git
Date
Msg-id 1318067205.20983.0.camel@kjetil.kny.im
Whole thread Raw
In response to Re: Moving to git  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
On Wed, 2011-10-05 at 09:39 -0700, Kris Jurka wrote:
> On 10/5/2011 9:34 AM, Kjetil Nygård wrote:
>
> > Is it possible to put a snapshot copy of the cvs-directory somewhere, so
> > people who is interested can download the cvs-repo and set it up locally
> > for test-mirgrations?
> >
>
>
> http://ejurka.com/pgsql/tmp/pgjdbc-cvs.tar.gz



Hi,

My original e-mail did not come through, because of an email with an
image.

I have now made two scripts. One that takes the dump above and convert
it to git with svn2git.

The second script verify that the content of the tags are the same.

It is also a good idea to browse the git-non-bare with qgit to see if
there is something wrong with the commit-tree. (See screenshot)

To run the scripts:

# Convert
$ mkdir <an empty dir>
$ cd <an empty dir>
$ path/to/convert_cvs_git.sh ../pgjdbc-cvs.tar.gz

# Verify
$ export CVSROOT=<equal copy of the tar.gz>
$ path/to/verify-tags-equal.sh




Regards,
  Kny



Attachment

pgsql-jdbc by date:

Previous
From: Maciek Sakrejda
Date:
Subject: Re: Moving to git
Next
From: Kjetil Nygård
Date:
Subject: Re: Moving to git