Skip to contentSkip to conversation

git-svn on a strangely configured (pathwise) subversion repository

DISCUSSION AJ Rossini 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore

AJ Rossini

author
#0 lore raw

Greetings all -

(paths and names changed, but basically correct)

I'm trying to use git-svn as a svn client on a repository which is not quite configured in a standard way... i.e.

$ git svn fetch                                                                                                                 
RA layer request failed: PROPFIND request failed on '/path/to': PROPFIND 
of '/path/to': 403 Forbidden (https://dummy-host-name.com) 
at /usr/bin/git-svn line 2861

where as from my working svn copy (no problems from svn, of course, sigh...), I'm getting:

$ svn info                                                                                                                     
Path: .
URL: https://dummy-host-name.com/path/to/projects/project
Repository Root: https://dummy-host-name.com/path/to
Repository UUID: 97840717-62f2-0310-bead-daafb7b60902
Revision: 554
Node Kind: directory
Schedule: normal
Last Changed Author: someone
Last Changed Rev: 514
Last Changed Date: 2007-01-25 14:20:44 +0100 (Thu, 25 Jan 2007)

The problem seems to be that the Repository Root directory is not readable, while the URL is (at least for me, using HTTPS).

This is using

$ git --version                                                                                                                
git version 1.4.4.4

(on debian unstable).

Here is what I'm considering:
#1 - upgrading to the 1.5.0 RC series
#2 - trying Eric Wong's git-svn branch at http://git.bogomips.org/git-svn.git
#3 - getting a dump of the repository from the owner, loading it into a local svn server, and doing a local conversion...

With respect to #1/#2, I'm a bit cautious with upgrading to something not rock solid (let's just say that except for this, git 1.4.4.4 has been excellent for my needs...).

With respect to #3 - I'd prefer not to waste the admin's (personal) time if not necessary!

Does any one have any thoughts?

best,
-tony

[email protected]
Muttenz, Switzerland.
"Commit early,commit often, and commit in a repository from which we can easily roll-back your mistakes" (AJR, 4Jan05).

#1 lore raw
Quoted 6 lines · AJ Rossini

Greetings all -

(paths and names changed, but basically correct)

I'm trying to use git-svn as a svn client on a repository which is not quite configured in a standard way... i.e.

Perfectly standard on some corporate networks, unfortunately :(

Quoted 4 lines
$ git svn fetch
RA layer request failed: PROPFIND request failed on '/path/to': PROPFIND 
of '/path/to': 403 Forbidden (https://dummy-host-name.com) 
at /usr/bin/git-svn line 2861

<snip>

Quoted 6 lines

The problem seems to be that the Repository Root directory is not readable, while the URL is (at least for me, using HTTPS).

This is using

$ git --version
git version 1.4.4.4

Known problem. This is fixed in commit
747fa12cef73b6ca04fffaddaad7326cf546cdea

Quoted 2 lines

Here is what I'm considering:
#1 - upgrading to the 1.5.0 RC series

Stop after #1 if you want a sure thing the current 1.5.0 RC series contains fixes for repositories with only partial read permissions.

Quoted 2 lines

#2 - trying Eric Wong's git-svn branch at
http://git.bogomips.org/git-svn.git

Read access in your case *should* continue to work here. More testing would be good. This branch may not work well if your write access is not the same as as your read access; which is something I keep forgetting to fix...

Quoted 9 lines

#3 - getting a dump of the repository from the owner, loading it into a local svn server, and doing a local conversion...

With respect to #1/#2, I'm a bit cautious with upgrading to something not rock solid (let's just say that except for this, git 1.4.4.4 has been excellent for my needs...).

With respect to #3 - I'd prefer not to waste the admin's (personal) time if

#3 is definitely not necessary.

Junio has done a wonderful job of keeping the 1.5.0-rc* series stable and usable, so #1 is the safest. I'll try to fix things today so #2 will work better.

Signature · 1 line
Eric Wong
author
#2 lore raw
Quoted 24 lines · Eric Wong
Quoted 6 lines · AJ Rossini

Greetings all -

(paths and names changed, but basically correct)

I'm trying to use git-svn as a svn client on a repository which is not quite configured in a standard way... i.e.

Perfectly standard on some corporate networks, unfortunately :(

Quoted 4 lines
$ git svn fetch
RA layer request failed: PROPFIND request failed on '/path/to': PROPFIND
of '/path/to': 403 Forbidden (https://dummy-host-name.com)
at /usr/bin/git-svn line 2861

<snip>

Quoted 6 lines

The problem seems to be that the Repository Root directory is not readable, while the URL is (at least for me, using HTTPS).

This is using

$ git --version
git version 1.4.4.4
Quoted 8 lines

Known problem. This is fixed in commit
747fa12cef73b6ca04fffaddaad7326cf546cdea

Quoted 2 lines

Here is what I'm considering:
#1 - upgrading to the 1.5.0 RC series

Stop after #1 if you want a sure thing the current 1.5.0 RC series contains fixes for repositories with only partial read permissions.

Bingo! Thanks, Eric! Drop by for a beverage of your choice the next time
you pass through Basel, Switzerland....

Quoted 7 lines
Quoted 2 lines

#2 - trying Eric Wong's git-svn branch at
http://git.bogomips.org/git-svn.git

Read access in your case *should* continue to work here. More testing would be good. This branch may not work well if your write access is not the same as as your read access; which is something I keep forgetting to fix...

I'll try this in a dummy directory and try to report back in the hopefully near future...

best,
-tony

[email protected]
Muttenz, Switzerland.
"Commit early,commit often, and commit in a repository from which we can easily
roll-back your mistakes" (AJR, 4Jan05).