Skip to contentSkip to conversation

git-svn updates from Ramkumar

GIT PULL Eric Wong 3 participants 9 messages Jun 15, 2016

lore
Share & tools
lore

Eric Wong

author
#0 lore raw

The following changes since commit 563d4e59bd167fe2eecc5480e3841d878b1c8c2b:

Fifth batch for 2.3 cycle (2015-01-14 12:44:03 -0800)

are available in the git repository at:

git://bogomips.org/git-svn.git for-junio

for you to fetch changes up to a94655dcfedc6b266ba32a3d32b0d52a1ce6a928:

git-svn: make it play nicely with submodules (2015-01-15 08:35:55 +0000)

----------------------------------------------------------------
Ramkumar Ramachandra (2):
Git::SVN: handle missing ref_id case correctly
git-svn: make it play nicely with submodules

 git-svn.perl    | 6 ++++++
 perl/Git/SVN.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
#1 lore raw
Quoted 12 lines · Eric Wong

The following changes since commit 563d4e59bd167fe2eecc5480e3841d878b1c8c2b:

Fifth batch for 2.3 cycle (2015-01-14 12:44:03 -0800)

are available in the git repository at:

git://bogomips.org/git-svn.git for-junio

for you to fetch changes up to a94655dcfedc6b266ba32a3d32b0d52a1ce6a928:

git-svn: make it play nicely with submodules (2015-01-15 08:35:55 +0000)

Quoted 8 lines

----------------------------------------------------------------
Ramkumar Ramachandra (2):
Git::SVN: handle missing ref_id case correctly
git-svn: make it play nicely with submodules

 git-svn.perl    | 6 ++++++
 perl/Git/SVN.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

Thanks. No tests necessary/feasible? Just being curious.

author
#2 lore raw
Quoted 1 line · Junio C Hamano

Thanks. No tests necessary/feasible? Just being curious.

They seemed simple and obvious enough to me,
(and most importantly, didn't trigger regressions). If Ramkumar or anybody else has the time, I'd welcome them.

#3 lore raw
Quoted 5 lines · Eric Wong
Quoted 1 line · Junio C Hamano

Thanks. No tests necessary/feasible? Just being curious.

They seemed simple and obvious enough to me, (and most importantly, didn't trigger regressions).

I can see that the top-most one is about .git that is a textual symlink ".gitdir: <elsewhere>" and the code after this part needed to convert it to the real place in order to be able to read/write "${GIT_DIR}/<some file>", so that is obvious to me.

But the other one just says "handle missing ref_id case correctly" without clarifying what is incorrect in the original and how the desired correct behaviour is different (in other words, what breaks without this change)

To which a natural reaction was "Can the existing breakage demonstrated by a test?".

If it is obvious for git-svn folks, then I wouldn't complain, though.

#4 lore raw
Quoted 2 lines · Junio C Hamano

To which a natural reaction was "Can the existing breakage demonstrated by a test?".

There's a lot to do, if we really want to dig deeper.

The second git-svn-basic test onwards doesn't pass for me, so I really can't do much in the way of contributing tests until that's fixed.

Couldn't open a repository: Unable to connect to a repository at URL 'file:///Users/artagnon/src/git/t/trash%20directory.t9100-git-svn-basic/svnrepo':
Unable to open an ra_local session to URL: Unable to open repository 'file:///Users/artagnon/src/git/t/trash%20directory.t9100-git-svn-basic/svnrepo':
Expected FS format between '1' and '4'; found format '6' at /Users/artagnon/src/git/perl/blib/lib/Git/SVN.pm line 148.

author
#5 lore raw
Quoted 9 lines · Ramkumar Ramachandra
Quoted 2 lines · Junio C Hamano

To which a natural reaction was "Can the existing breakage demonstrated by a test?".

There's a lot to do, if we really want to dig deeper.

The second git-svn-basic test onwards doesn't pass for me, so I really can't do much in the way of contributing tests until that's fixed.

Quoted 6 lines

Couldn't open a repository: Unable to connect to a repository at URL 'file:///Users/artagnon/src/git/t/trash%20directory.t9100-git-svn-basic/svnrepo':
Unable to open an ra_local session to URL: Unable to open repository 'file:///Users/artagnon/src/git/t/trash%20directory.t9100-git-svn-basic/svnrepo':
Expected FS format between '1' and '4'; found format '6' at /Users/artagnon/src/git/perl/blib/lib/Git/SVN.pm line 148.

I haven't seen this before. Which SVN Perl binding version are you using? Perhaps your "svnadmin" tool is from a different SVN version or installation of SVN than your Perl bindings?

#6 lore raw
Quoted 3 lines · Eric Wong

I haven't seen this before. Which SVN Perl binding version are you using? Perhaps your "svnadmin" tool is from a different SVN version or installation of SVN than your Perl bindings?

I have two installations of Subversion: the system one is at /Library/Developer/CommandLineTools @ version 1.7.17, and the brew installed one is at /usr/local @ version 1.8.10. When I build git from scratch, it links to the dated SVN bindings for some reason. I suspect I have to tweak $PERL5LIB?

Can we patch git-svn to link to the Right one on OS X?

author
#7 lore raw
Quoted 10 lines · Ramkumar Ramachandra
Quoted 3 lines · Eric Wong

I haven't seen this before. Which SVN Perl binding version are you using? Perhaps your "svnadmin" tool is from a different SVN version or installation of SVN than your Perl bindings?

I have two installations of Subversion: the system one is at /Library/Developer/CommandLineTools @ version 1.7.17, and the brew installed one is at /usr/local @ version 1.8.10. When I build git from scratch, it links to the dated SVN bindings for some reason. I suspect I have to tweak $PERL5LIB?

Adding it to GITPERLLIB should work...

Quoted 1 line

Can we patch git-svn to link to the Right one on OS X?

You should be able to set up everything in the Makefile, that has special cases for Fink and Darwin ports, at least. Somebody who knows OS X packaging systems might have better advice.