![]() |
|
#1
|
|||
|
|||
|
So I have created an svn repository here: /home/<username>/svn/repo
I have done this before, so I kindof know what I'm doing, but I'm no expert. Now , I am able to do a checkout locally in my shared hosting account by doing something like: svn co file:///home/<username>/svn/repo that works in my shared hosting account, but I want to be able to do a checkout from other environments... namely my home PC. I think I *should* be able to do something like this: svn co http://<mydomain>/home/<username>/svn/repo But I am getting this error: svn: PROPFIND request failed on '/home/<username>/svn/repo' svn: PROPFIND of '/home/<username>/svn/repo': 405 Method Not Allowed (<mydomain>) Little help on what I need to do to checkout from a remote host? thanks. Last edited by kingmoore; 11-28-2008 at 09:22 AM. |
|
#2
|
||||
|
||||
|
The way the SVN setup works is you actually just need your domain so http://yourdomain.com/ . You do not need the other paths added onto it. I believe it says this on the integration page about how to checkout a repository.
|
|
#3
|
|||
|
|||
|
Thanks. Where can I find this "integration page" ?
|
|
#4
|
||||
|
||||
|
I think I choose some bad wording for the page. But what I am talking about is if you go to the rvskin page then the subversion and trac manager page. You'll see a link to and on that page to Subversion Management it'll have something like this on it:
The repository location : svn://domain.com, port 3690 (default). So just the domain is required in order to login. There is no need to use paths the custom subversion server figures that all out based on the domain you specify. |
|
#5
|
|||
|
|||
|
Okay. Thanks for the info. I actually had set up my repository from the command line. I didn't use cPanel/tranc manager. I will try some things out tomorrow and see if I can get it going. Will let you know.
|
|
#6
|
||||
|
||||
|
Yeah you need to set it up via the SVN and trac manager because it uses a modified subversion server. So I am not how exactly you could connect to it if you created it yourself via the command line. Especially when it hard codes where the repository directory should be based off of the domain you connected to.
|
|
#7
|
|||
|
|||
|
Okay thanks Tony. You have been very helpful. For anyone reading allong, here is how I got things working:
- deleted the repo that I had created by command line - from cpanel change my theme to RVSkin (this seems to be the only way to get the SVN/Trac manager option) - go to SVN/Trac Manager and enable/install it - a default repository is created, I added a sub repo called repo - from my local machine i get a command prompt, go to the directory that i want in my repo and do this: svn import -m "initial commit" svn://<mydomain>/repo - to checkout the code I can now do: svn co svn://<mydomain>/repo The only annoying bit is that when I am SSHed into my hawkhost account, doing svn commands gives me: svn: error while loading shared libraries: libdb-4.6.so: cannot open shared object file: No such file or directory So I have to explicitly type /usr/bin/svn to get to the working version of svn. Adding this to my path doesn't seem to help. |
|
#8
|
||||
|
||||
|
Quote:
The reason behind the library error is simply because your account is in a jailed shell (chroot) - so it can't find the system libraries. |
|
#9
|
|||
|
|||
|
Interesting... why is it that it works correctly if I specify /usr/bin/svn ? Any way to make that the default svn that gets run when I type just 'svn' ?
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|