Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id DDFDBB5DBD9 for ; Wed, 5 Oct 2011 11:59:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 54280-09 for ; Wed, 5 Oct 2011 14:58:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id D016BB5DBC8 for ; Wed, 5 Oct 2011 11:58:58 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p95Ewwch019488; Wed, 5 Oct 2011 10:58:58 -0400 (EDT) To: Marko Kreen cc: pgsql-jdbc@postgresql.org Subject: Re: test git conversion In-reply-to: References: Comments: In-reply-to Marko Kreen message dated "Wed, 05 Oct 2011 12:04:58 +0200" Date: Wed, 05 Oct 2011 10:58:58 -0400 Message-ID: <19487.1317826738@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/35 X-Sequence-Number: 22288 Marko Kreen 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