threads / discuss / 6780

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

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

## tl;dr

3 messages between Feb 12, 2007 and Feb 12, 2007.

replies: 2people: 2as markdown or json

AJ Rossini· Feb 12, 2007, 10:36 UTC · lore
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

blindglobe@gmail.com Muttenz, Switzerland. "Commit early,commit often, and commit in a repository from which we can easily roll-back your mistakes" (AJR, 4Jan05).

Eric Wong· Feb 12, 2007, 18:32 UTC · re: AJ Rossini · lore

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

AJ Rossini <blindglobe@gmail.com> wrote:
Show 6 quoted lines
> 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 :(
> $ 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>
Show 6 quoted 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

> 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.

> #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...

Show 9 quoted 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.

-- 
Eric Wong
AJ Rossini· Feb 12, 2007, 18:47 UTC · re: Eric Wong · lore

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

On Monday 12 February 2007 19:32, Eric Wong wrote:
Show 32 quoted lines
> AJ Rossini <blindglobe@gmail.com> wrote:
> > 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 :(
>
> > $ 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>
>
> > 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
>
> > 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....

Show 7 quoted 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

blindglobe@gmail.com Muttenz, Switzerland. "Commit early,commit often, and commit in a repository from which we can easily roll-back your mistakes" (AJR, 4Jan05).

← back to recent threads