You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Philipp Klein <ph...@gmx.net> on 2004/02/27 19:59:55 UTC

Unable to import files via Tortoise SVN

Hi,

as the topic already says, I'm unable to import files via Tortoise SVN.
Everytime I try to do this, i get the following error:
--snip--
PROFIND request failed on '/testimport'
PROFIND of '/testimport': 301 Moved Permanently (http://myurl.org:8080)
--snip--
After some time of googling, I found out that there may be some overlapping
stuff in the httpd.conf, which causes the error. But in my httpd.conf, there
is no overlapping stuff.
I used the default httpd.conf and the only thing I put in are these 3 lines:
--snip--
<Location /testimport>
        DAV svn
        SVNPath /home/phil/httpd/htdocs/testimport
</Location>

--snip--

Somebody who has a clue, how to get this stuff working?
Thanks in advance, phil


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Unable to import files via Tortoise SVN

Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2004-02-27 at 15:01, Philipp Klein wrote:

> Anyway, i'm still getting the same 301 error when I'm trying to import the
> files via the commandline.
> But, as I already said I removed all the lines which point to my
> htdocs-directory, excepting the Location-Line.

Can you show us

1. a transcript of the commandline session

2. your httpd.conf



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Unable to import files via Tortoise SVN

Posted by Philipp Klein <ph...@gmx.net>.
Hi,

at first, thanks for your information. I didn't know before, that there is
some kind of "extra rule" for importing files via file://.

> I sense other confusion here:  it looks like you're using apache as your
> server (hence the http 301 error).  I hope you understand that
> 'svnserve.conf' has no effect on apache.
I know, that the svnserve.conf has no effect on apache.
Anyway, i'm still getting the same 301 error when I'm trying to import the
files via the commandline.
But, as I already said I removed all the lines which point to my
htdocs-directory, excepting the Location-Line.

Cheers, phil


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Unable to import files via Tortoise SVN

Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2004-02-27 at 14:35, Philipp Klein wrote:
> Hi,
> 
> well, at the commandline it works.. But normally it should not, because i've
> set a password for importing files.
> Here are some configuration files. At first the svnserve.conf. 

svnserve.conf is read and enforced *only* by 'svnserve'.

> svn import -m "m00" /home/phil/dev/src
> file:///home/phil/httpd/htdocs/testimportl

And here you are, accessing the repository directly via file:///. 
There's no such thing as authentication/authorization when using
file:///, because you're touching the db files directly.  Only the
Operating System's own permissions come into play.  It's no different
than opening the database files in your editor.

So, we need to see what happens when you try to import from the
commandline, over the internet. 

I sense other confusion here:  it looks like you're using apache as your
server (hence the http 301 error).  I hope you understand that
'svnserve.conf' has no effect on apache.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Unable to import files via Tortoise SVN

Posted by Philipp Klein <ph...@gmx.net>.
Hi,

well, at the commandline it works.. But normally it should not, because i've
set a password for importing files.
Here are some configuration files. At first the svnserve.conf. There's only
one thing I changed:
--snip--
password-db = passwd
--snip--
Here's the password file which is in the same directory as the
svnserve.conf:
--snip--
[users]
phil = foobar
--snip--
The weird thing is, that I was able to import all the files via commandline
_without_ entering a password (I wasn't even asked for it). Do you have an
idea, why he doesn't ask me for a password?

Anyway, the import via commandline works. But I've to say, that I tried the
import on the commandline only on the localhost; i the import via tortoise
svn over the internet. Maybe it can help you, here's the command I used for
importing:
--snip--
svn import -m "m00" /home/phil/dev/src
file:///home/phil/httpd/htdocs/testimportl

Finally, there are two problems. The first one is, that he doesn't ask me
for a password. The second one is, that it still doesn't work via Tortoise
svn (eventhough I don't think that this is a bug of Tortoise svn).

Cheers, phil


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Unable to import files via Tortoise SVN

Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2004-02-27 at 14:14, Philipp Klein wrote:
> Hi,
> > FAQ:
> > http://subversion.tigris.org/project_faq.html#301-error
> As I already said, I read the FAQ.
> And I said, that there's definitely no overlapping stuff which could make
> trouble.
> To ensure this, I removed the DocumentRoot-Line and the <Directory>-Line, so
> that there are only the <Location>-Lines for subversion left. And it still
> doesn't work. :-(

Do you get the same import error when importing via the svn commandline
client?  We're not able to debug tortoisesvn here... that's a separate
project.  But if you can reproduce the problem with the commandline, can
you show us a transcript?  And show us as much of httpd.conf as you can,
too.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Unable to import files via Tortoise SVN

Posted by Philipp Klein <ph...@gmx.net>.
Hi,
> FAQ:
> http://subversion.tigris.org/project_faq.html#301-error
As I already said, I read the FAQ.
And I said, that there's definitely no overlapping stuff which could make
trouble.
To ensure this, I removed the DocumentRoot-Line and the <Directory>-Line, so
that there are only the <Location>-Lines for subversion left. And it still
doesn't work. :-(

bye, phil


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Unable to import files via Tortoise SVN

Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2004-02-27 at 13:59, Philipp Klein wrote:

> PROFIND of '/testimport': 301 Moved Permanently (http://myurl.org:8080)

FAQ:  

http://subversion.tigris.org/project_faq.html#301-error


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org