Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

TortoiseSVN

Options
  • 03-04-2006 10:40pm
    #1
    Registered Users Posts: 417 ✭✭


    Hey,

    Just started using subversion through apache and am using TortoiseSVN on my client.This is the setup.

    C:\test Windows Folder
    C:\test\repos1 a repository
    C:\test\repos2 a repository

    Apache config file is set like this.
    httpd.conf file

    <location /svn>
    DAV svn
    SVNListParentPath on
    SVNParentPath C:\test
    AuthType Basic
    AuthName "Subversion Repositories"
    AuthUserFile C:\author.pass
    #AuthzSVNAccessFile svnaccessfile
    Require valid-user
    </location>

    If i go to TortoiseSVN and type in (this is when i'm on the server) http://localhost/svn or http://localhost/svn/ it give me an error.
    The error i get is "ERROR* PROPFIND request failed on '/svn' PROPFIND of '/svn': 301 moved Premanently (http://machinename) " any ideas what this means??

    If i type http://localhost/svn or http://localhost/svn/ into a browser IE for example i get the list of repositories.

    Can TortoiseSVN show multiple repositories under a folder. i.e. like the way IE is?
    Any ideas on what i am doing wrong?

    Cheers,
    random


Comments

  • Registered Users Posts: 3,886 ✭✭✭cgarvey


    randomname wrote:
    The error i get is "ERROR* PROPFIND request failed on '/svn' PROPFIND of '/svn': 301 moved Premanently (http://machinename) " any ideas what this means??

    It means you Apache configuration is automatically redirecting any request for http://localhost/ to the site it's been configured as, http://machinename/ , where machinename is whatever your PC is called. So what happens when you set your repository URL to http://machinename/svn?

    IE just follows this redirect automatically, which is why you're seeing localhost in the address bar.

    .cg


  • Registered Users Posts: 417 ✭✭randomname


    If i try http://machinename/svn in IE or FireFox its grand it gives me a list of collection of repositories.

    However in tortoisesvn i get a folder called svn appearing in the display and when i click on it i get The error i get is "ERROR* PROPFIND request failed on '/svn' PROPFIND of '/svn': 301 moved Premanently (http://machinename) ".

    /svn isnt a repository but contains a list of repositories (2 folders each are repositories). if i set up /svn (on server C:\test ) as a repository i get the list of stuff under said repository.

    I think the question is will tortoisesvn show a list of repostitories under a folder?
    Thanks for the response.


  • Registered Users Posts: 60 ✭✭asmith


    Can TortoiseSVN show multiple repositories under a folder

    The answer to this questions is no I'm afraid. TortoiseSVN cannot browse repositories the same way your browser can.

    The error you're getting is saying that the location you're trying to checkout/browse is not a repository location. What you need to do is give Tortoise a full repository path, e.g. http://localhost/svn/repos1.

    http://localhost/svn is just a URL on your webserver which you can browse to using the standard HTTP protocol (which is why you can do so in IE). It won't however respond to WebDAV commands such as PROPFIND, hence the errror.


Advertisement