[RFC] requiring Perl SVN libraries for git-svn

3 messages, 2 authors, 2016-08-11 · open the first message on its own page

[RFC] requiring Perl SVN libraries for git-svn

From: Eric Wong <hidden>
Date: 2016-08-11 19:34:30

Are there any git-svn users out there who would be seriously hurt if I
dropped support for using the svn command-line client in git-svn?

The API of the SVN:: libraries seem to be relatively stable these days
and are *much* faster than the command-line client.  I plan on
maintaining compatibility with version 1.1 of the SVN libraries for at
least another year; or more if it's not a big problem.

Lately, I've introduced support for authentication and connecting to
repositories with limited read permissions, as well as reading from the
config files in ~/.subversion; so everything that could be done with
the command-line client backend can be done with the libraries, too.

-- 

Re: [RFC] requiring Perl SVN libraries for git-svn

From: Randal L. Schwartz <hidden>
Date: 2016-08-11 19:41:10

quoted
quoted
quoted
quoted
"Eric" == Eric Wong [off-list ref] writes:
Eric> The API of the SVN:: libraries seem to be relatively stable these days
Eric> and are *much* faster than the command-line client.  I plan on
Eric> maintaining compatibility with version 1.1 of the SVN libraries for at
Eric> least another year; or more if it's not a big problem.

For a while, I would have been upset.  I was building SVN from fink, even
though I was using a private Perl as /usr/local/bin/perl.  And since the Perl
bindings have to be built when the SVN package is built, it was being built
against the core Perl, which I didn't use, so I couldn't use the SVN bindings.

Now, I'm building SVN from darwinports, which builds its own Perl, and I have
~/bin/git-svn wrap the /opt/git/bin/git-svn passing it the /opt/local/bin/perl
instead of the first Perl in the path.  And it all just works.  I suppose
I could have done that before too. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[off-list ref] <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.

Re: [RFC] requiring Perl SVN libraries for git-svn

From: Eric Wong <hidden>
Date: 2016-08-11 20:17:36

Eric Wong [off-list ref] wrote:
Are there any git-svn users out there who would be seriously hurt if I
dropped support for using the svn command-line client in git-svn?
One additional comment is that the dcommit command (much favored over
'git svn commit') does not currently work with the command-line client.

-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help