[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [ANN] hgsubversion - patches wanted!

From: Benoit Boissinot <bboissin_at_gmail.com>
Date: Thu, 2 Oct 2008 14:02:07 +0200

On Thu, Oct 2, 2008 at 1:54 PM, Shun-ichi GOTO <shunichi.goto_at_gmail.com> wrote:
> 2008/10/1 Augie Fackler <durin42_at_gmail.com>:
>> Greetings all! (and apologies for you fellow VC junkies on both of these
>> lists)
>>
>> I'm pleased to announce my work on a Mercurial extension that supports using
>> hg as a Subversion client has borne a fair amount of fruit, and at the
>> prodding of some friends I'm releasing it to the wild.
>>
>> http://www.bitbucket.org/durin42/hgsubversion/
>
> Interesting!
> I need a small fix to run on win32.
> With this patch, I successed svnclone for my one local svn repo
> (but not yet fully checked).
>
> diff -r 89f88df794d3 -r 1f6fb5310711 hg_delta_editor.py
> --- a/hg_delta_editor.py Tue Sep 30 18:01:35 2008 -0500
> +++ b/hg_delta_editor.py Thu Oct 02 20:10:48 2008 +0900
> @@ -27,6 +27,8 @@
> except:
> raise
> else:
> + if os.path.exists(file_path):
> + os.remove(file_path)
> os.rename(path, file_path)

just use util.rename instead, it takes care of this.

regards,

Benoit

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-03 00:40:34 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.