From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael J Gruber Subject: Re: git fast-export | git fast-import doesn't work Date: Wed, 26 Nov 2008 11:18:36 +0100 Message-ID: <492D227C.8020805@drmicha.warpmail.net> References: <85b5c3130811250844u498fbb97m9d1aef6e1397b8c7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Ondrej Certik , Git Mailing List , Fabian Seoane To: Johannes Schindelin X-From: git-owner@vger.kernel.org Wed Nov 26 11:20:09 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1L5HV8-0004LC-9J for gcvg-git-2@gmane.org; Wed, 26 Nov 2008 11:20:06 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751814AbYKZKSn (ORCPT ); Wed, 26 Nov 2008 05:18:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751751AbYKZKSm (ORCPT ); Wed, 26 Nov 2008 05:18:42 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:51769 "EHLO out1.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750823AbYKZKSl (ORCPT ); Wed, 26 Nov 2008 05:18:41 -0500 Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 4156B1C8C24; Wed, 26 Nov 2008 05:18:39 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Wed, 26 Nov 2008 05:18:39 -0500 X-Sasl-enc: NAYpL2nJBW/27VDzkR+b2qkese0HEgVIzsrXraLLu7pv 1227694718 Received: from [139.174.44.12] (whitehead.math.tu-clausthal.de [139.174.44.12]) by mail.messagingengine.com (Postfix) with ESMTPSA id 789882ECEE; Wed, 26 Nov 2008 05:18:38 -0500 (EST) User-Agent: Thunderbird 2.0.0.18 (X11/20081105) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Johannes Schindelin venit, vidit, dixit 26.11.2008 01:14: > Hi, > > On Tue, 25 Nov 2008, Ondrej Certik wrote: > >> I would like to export our whole git repository to patches, and then >> reconstruct it again from scratch. Following the man page of "git >> fast-export": >> >> [...] >> >> However, the repository is very different to the original one. It >> contains only 191 patches: > > Can you try again with a Git version that contains the commit > 2075ffb5(fast-export: use an unsorted string list for extra_refs)? With that commit cherry-picked onto today's master I get the same effect: A) git fast-import crashes with dump generated by git fast-export -M -C B) git fast-import produces disconnected DAG with dump generated by git fast-export With git 1.5.4, A) is good but B) is still bad. Bisecting gives me (after remembering to put make in the run script, uhm...)... ... ...tadah: ae7c5dcef92d46cfc8987fde2c264614fe475bd1 is first bad commit commit ae7c5dcef92d46cfc8987fde2c264614fe475bd1 Author: Alexander Gavrilov Date: Sun Jul 27 00:52:54 2008 +0400 Support copy and rename detection in fast-export. Oh well :( Michael