git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn on a strangely configured (pathwise) subversion repository
@ 2007-02-12 10:36 AJ Rossini
  2007-02-12 18:32 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: AJ Rossini @ 2007-02-12 10:36 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 2166 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-svn on a strangely configured (pathwise) subversion repository
  2007-02-12 10:36 git-svn on a strangely configured (pathwise) subversion repository AJ Rossini
@ 2007-02-12 18:32 ` Eric Wong
  2007-02-12 18:47   ` AJ Rossini
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2007-02-12 18:32 UTC (permalink / raw)
  To: AJ Rossini; +Cc: git

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.

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-svn on a strangely configured (pathwise) subversion repository
  2007-02-12 18:32 ` Eric Wong
@ 2007-02-12 18:47   ` AJ Rossini
  0 siblings, 0 replies; 3+ messages in thread
From: AJ Rossini @ 2007-02-12 18:47 UTC (permalink / raw)
  To: Eric Wong; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]

On Monday 12 February 2007 19:32, Eric Wong wrote:
> 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....

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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-12 19:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-12 10:36 git-svn on a strangely configured (pathwise) subversion repository AJ Rossini
2007-02-12 18:32 ` Eric Wong
2007-02-12 18:47   ` AJ Rossini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).