[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Re: Importing Bzr revisions
From:       David Reitter <david.reitter () gmail ! com>
Date:       2009-03-23 13:27:24
Message-ID: 03AC7EDA-2A9F-4626-A67B-CE9F2A88FC7D () gmail ! com
[Download RAW message or body]

On Mar 23, 2009, at 4:06 AM, Junio C Hamano wrote:
>
>> Suppose I have a bzr branch that has been converted (somehow) to a  
>> git
>> branch, is it then possible to merge new revisions from the bzr  
>> branch
>> into the git one?
>
> It entirely depends on how that "somehow" goes.
>
> If that "somehow" procedure performs a reliably reproducible  
> conversion
> (i.e. not only it will produce the identical git history when you  
> feed the
> same bzr history to the procedure twice, but it will produce the  
> identical
> git history followed by new history if you feed the bzr history  
> after new
> commits are added to the bzr history), you should be able to re- 
> convert

I'm just experimenting with "bzr fast-export", which converts to git,  
and it seems to take about 4 minutes for 1000 revisions on our  
(modern) server.  That would be around 7 hours for my emacs  
repository; I can't do that daily.

I wonder if there's a way for (bzr) fast-export / (git) fast-import to  
work incrementally, i.e. for selected or most recent revisions.

Or, one could do something like  bzr diff -r $REV.. $BBRANCH |  (cd  
$GBRANCH; patch -p0; git commit), plus preserving authors and log  
messages.   Is this roughly what the fast-export format does anyways?


["smime.p7s" (smime.p7s)]

0	*H
 010	+0	*H
 0}0 >w@GTj)0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
081209020801Z
091209020801Z0b10UReitter10U*David10U
David Reitter1&0$	*H
	david.reitter@gmail.com00
	*H
0v	dbVx<	G}܎5j@SmEZ' U1"Ghn)C
D&tj/=fvyYU's~f;"_~L46!cMO2 \
:Ӱr4020"U0david.reitter@gmail.com0U00 	*H
! H|O2
c>%&c>Dy&Y-Jn*</ \
yrZELS5ùu+6u?no:3(|ĺB=B|	̈́<*Z \
ҔzS**S0?0 
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte \
Personal Freemail CA1+0)	*H 	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08 \
6 42http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 \
010UPrivateLabel2-1380 	*H
HP.
fg CL!6-6/P p<ab:~t%Pb'qW%ݩ9 \
Oe_N4[5MwV!x!5$F]_eO100v0b10	UZA1%0#U \
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing \
CA>w@GTj)0	+ o0	*H 	1	*H
0	*H
	1
090323132725Z0#	*H
	1tq@ӄ2t0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing \
CA>w@GTj)0*H 	1x v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing \
CA>w@GTj)0 	*H
G
參	ܖtP`9R8윥cspKv8sIc:g-6
%;Ol|E
Ԉ%sиm)k}	h9ٸ!Ckvu
:_{!


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic