[Adium-devl] Let's switch to a DVCS

Augie Fackler durin42 at gmail.com
Wed Apr 15 04:38:10 UTC 2009


On Apr 14, 2009, at 10:36 PM, Peter Hosey wrote:

> On 2009-04-14, at 20:17, David Smith wrote:
>> As I understand it we've been waiting for Augie's work on  
>> hgsubversion to mature. Our svn repo is... odd, and breaks most  
>> tools.
>
> hg convert worked somewhat well the last time I tried it. The  
> biggest problem I remember is that it operated in fits, running out  
> of memory every few thousand commits. hgsubversion does this, too;  
> it may be unavoidable. (If we had better Python memory-profiling  
> tools, we could work on this; as it is, any attempt to optimize the  
> memory usage of a Python program relies on guesswork at best.)
>
> hg convert might have had another problem, but if it did, I don't  
> remember it. The only thing I remember is the running-out-of-memory  
> problem.
>
> I tried to use hgsubversion on the Adium repo today, actually, and  
> got pretty far, but it choked shortly after r24000:
>
> 	<https://bitbucket.org/durin42/hgsubversion/issue/73/assertion-failure-when-pulling 
> >

hgsubversion should be easily modifiable to say "start at this  
revision, ignore branches that were created before that".

Or, even easier, import *just trunk* starting at a revision. I can  
probably write that feature in a single really-focussed weekend.

I'd posit we probably only need the most recent year or two of  
history, not the whole run.

> So, what do you think? Try hg convert again, or wait for hgsubversion?
>
> My current criteria for a tool to pass:
>
> 1. Every active branch can build a release. (Proves that at least  
> the current source is consistent.)
> 2. No false branches or tags. (Proves that the converter is not  
> making things up.)
> 3. No branches become tags, nor tags become branches. (Proves that  
> the converter has guessed correctly all branch and tag operations to  
> date.)
>
> When we're ready to make the switch, we can turn off the Subversion  
> server, dump the Subversion repo into a bzip2'd dump file, and clone  
> a Mercurial repo up to the server and serve it with hgweb and ssh.
>
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>





More information about the devel mailing list