pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marko Kreen <markokr@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: test git conversion
Date: Wed, 05 Oct 2011 10:58:58 -0400
Message-ID: <19487.1317826738@sss.pgh.pa.us> (raw)
In-Reply-To: <CACMqXCJ4kxEKOHkrgucOBZHZSYO_=b8QT1rYaSUqtS5-eU+ooA@mail.gmail.com>
References: <CACMqXCKiKdLZStZRRWpYHomf4bob7Xu9cpt=h39ioxCoH9d55g@mail.gmail.com>
	<CACMqXCJ4kxEKOHkrgucOBZHZSYO_=b8QT1rYaSUqtS5-eU+ooA@mail.gmail.com>

Marko Kreen <markokr@gmail.com> writes:
> - There are few manufactured commits on branches (not on HEAD):

> $ grep -i cvs2 cvs2svn-tmp/git-dump.dat
> This commit was manufactured by cvs2git to create branch 'REL6_4'.
> ...

> So the question is does the code look sane around those points
> and do we need to do something with it.  As cvs2git has seen improvements
> since postgres conversion, perhaps they are ok and we can ignore those.
> Especially since they are only on older branches.

I don't have details in my head anymore, but when we did the server's
git conversion, every one of those "manufactured commits" was a real
problem, ie, it didn't represent the history in a nice way.  I think the
most common cause was adding a file on HEAD and then on a pre-existing
branch, and that the unmodified git conversion then misrepresented the
state of the file at earlier instants in that branch (ie, it was there
when it should not be).  This is a bug/ambiguity in the CVS
representation, there is nothing cvs2git can do about it.  We worked
around it in the server conversion by editing the RCS files ... don't
know whether you guys are feeling sufficiently anal to do likewise.

			regards, tom lane



view thread (32+ messages)  latest in thread

Message-ID: <19487.1317826738@sss.pgh.pa.us>
Permalink:  ../19487.1317826738@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19487.1317826738@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, markokr@gmail.com
  Subject: Re: test git conversion
  In-Reply-To: <19487.1317826738@sss.pgh.pa.us>
  References: <CACMqXCKiKdLZStZRRWpYHomf4bob7Xu9cpt=h39ioxCoH9d55g@mail.gmail.com> <CACMqXCJ4kxEKOHkrgucOBZHZSYO_=b8QT1rYaSUqtS5-eU+ooA@mail.gmail.com> <19487.1317826738@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox