Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2013 13:00:47 +0400
From:      Peter Vereshagin <peter@vereshagin.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: svn-export Re: svn bdb checkout?
Message-ID:  <20130118090046.GA27638@external.screwed.box>
In-Reply-To: <alpine.BSF.2.00.1301172115090.92296@wonkity.com>
References:  <20130116185832.GB8524@external.screwed.box> <50F6FD37.5060309@gmail.com> <20130116193534.GC8524@external.screwed.box> <50F704CE.3010904@gmail.com> <20130116200754.GD8524@external.screwed.box> <50F70C60.4000108@FreeBSD.org> <20130116205533.GE8524@external.screwed.box> <20130117045431.GB5392@external.screwed.box> <20130118032508.445fa43b@archlinux.ca> <alpine.BSF.2.00.1301172115090.92296@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

2013/01/17 21:32:08 -0700 Warren Block <wblock@wonkity.com> => To Xyne :
WB> On Fri, 18 Jan 2013, Xyne wrote:
WB> 
WB> > I'm the author of svn-export. I haven't really touched the code since I wrote
WB> > it in 2009 and back then I tended to write most things in noobish Perl.

I shouldn't name your 2009 Perl that bad. ;-)

WB> > Although it should not be difficult to replace threading with forking (and I
WB> > agree that Perl threading is generally to be avoided), I think I would rather
WB> > just rewrite it cleanly in Python. Among other things it will simplify argument
WB> > parsing and subprocess invocation via standard library functions.

No objection. As a bonus it will run on fork()less ms-windows.

WB> > This would be in Python 3 but I could try to restrict it to be compatible with
WB> > Python 2 if necessary.

I have no idea if it is. I use python only as a build dependency yet and for
my pretty old freebsd the versions are:

  python26-2.6.7_3
  python27-2.7.3

WB> > Would that be better than patching/porting the current Perl version? If so then
WB> > I will put it on my todo list, but I am unlikely to have any time in the coming
WB> > weeks to work on it.

I don't know which one is best. Some proposals I will draft later believing
those are language-independent.

I know svn has some perl bindings I think just for the scripts like
'svn-export' I wish it used. Does svn have ones for python also?

WB> A working version in any language would be great.  A better version in 
WB> Python would be nice, too, but it's the working part that's important.
WB> 
WB> > Incidentally, when looking at the code now I noticed that there were some SVN
WB> > options missing. I have added those in today's release.

Wow. ;-)

WB> > p.s. I have not subscribed to this list, so please keep me in CC if you would
WB> > like me to reply (in case this isn't done automatically).
WB> 
WB> It's standard procedure for the FreeBSD lists.

Good I know this, too.

Thank you.

--
Peter Vereshagin <peter@vereshagin.org> (http://vereshagin.org) pgp: 1754B9C1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130118090046.GA27638>