SVN Source Control help please

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

SVN Source Control help please

Post by MrPotatoes »

i'm trying to find a source control that is out there that is free. so far everything that i use either has bad or no tutorials, no explainations or walk throughs.

i'm looking for a source control that is free and browser based. normally i would prefer a client but i have no frikkin' idea how to work with those things and they have absolutely not tutorials unless you want to go via cmd line. that defeats the purpose of the client ya know?
Last edited by MrPotatoes on Fri May 26, 2006 2:49 pm, edited 1 time in total.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Re: Is there a free Source Control out there?

Post by Roja »

MrPotatoes wrote:i'm trying to find a source control that is out there that is free. so far everything that i use either has bad or no tutorials, no explainations or walk throughs.
Okay, first, start by picking one of the big three: CVS, SVN, or Arch. Other than SourceSafe (a Microsoft version control system), those three cover the overwhelming majority of revision control systems.

Because they are widely used, there are a tremendous number of tutorials on them. Personally, I highly recommend Subversion (SVN), as it is substantially better than CVS, and removes most of the annoyances people have with version control.

Keep in mind that SVN is the protocol, but you will need a repository. For that I recommend one of the established opensource providers like Sourceforge, Gna.org, and so on.
MrPotatoes wrote:i'm looking for a source control that is free and browser based.
It depends precisely what you mean by browser based. Do you mean you want to be able to use the browser to *view* the repository? Thats easy with ViewVC. But if you mean being able to use the browser to do commits, I'm not aware of any that can.

The problem is that to do commits, it has to do a diff - which is pretty tricky to do server-side to client-side. Not saying it couldnt be done, but it would be very slow, and very counter-intuitive.
MrPotatoes wrote:normally i would prefer a client but i have no frikkin' idea how to work with those things and they have absolutely not tutorials unless you want to go via cmd line. that defeats the purpose of the client ya know?
The tortoise client for CVS and SVN is *excellent*, easy to use, and has a tremendous number of tutorials written for it. A google search for "tortoise cvs" gives over a dozen very simple tutorials in the first few pages of results.

How about you give tortoise and SVN a try, and if you run into problems, come back and ask for help. :)
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post by MrPotatoes »

see, that's the problem. i do have a respoistory and it's subversion. i have the tortouis client but i can't seem to get there for some reason. i don't know how to access it and work with it. the set up i can't do. i have worked with them before.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

MrPotatoes wrote:see, that's the problem. i do have a respoistory and it's subversion. i have the tortouis client but i can't seem to get there for some reason. i don't know how to access it and work with it. the set up i can't do. i have worked with them before.
I went to the Doctor, and told him I was sick. He wouldn't fix me - he clearly sucks as a Doctor.

Symptoms help diagnose issues, and help get you better medicine - true in real life, and with computers.

Please, explain how you try to connect, what error messages you get, and we can try to figure out whats going wrong. :)
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post by MrPotatoes »

no one asked and i told you what i wanted. pfffft ;)

when i get back home from work i'll post up what i'm having problems with. i don't have the client on my work computer anymore. too frustrating

if you have dreamhost then that would be best cuz then you'd know exactly what i'm doing then.

till later today :D
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post by MrPotatoes »

1. i download this client:
http://tortoisesvn.tigris.org/download.html
Version 1.3.3 for Win2k/XP or higher
Note that as of version 1.3.0, TortoiseSVN requires version 3.0 or later of the Windows MSI installer. Read our FAQ article to find out why this is necessary and how you can update the MSI installer without downloading service packs.

TortoiseSVN-1.3.3.6219-svn-1.3.1.msi
2. i'll install it to the default C:/program files
- also, i install all the default stuff to go with it

3. i get my repository set up. it's a one click install from the dreamhost panel
- http://svn.mr-potatoes.com/SpudsCMS/
- usr: test
- pwd: test
4. i right click a file on my localhost (desktop)
5. file -> right click -> tortouiseSVN -> settings -> network
- i put in the server "http://svn.mr-potatoes.com/SpudsCMS/"
- i put in the usr: test
- i put in the pwd: test
- i then click ok
6. now i right click again and goto repo browser and give it the URL: "http://svn.mr-potatoes.com/SpudsCMS/"
- i get this error: Error * PROPFIND request failed on '/' PROPFIND
7. i'm stuck

Notes: well i know this isn't right and i can't find a decent tutorial for the ADD gifted (me) and i know the look isn't correct. but either way i'm lost and i dunno what i'm doing after this point. i would like the help if you can afford the time. it would help me alot since my project isn't a small and simple one

Ciao
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post by MrPotatoes »

i gotta bump this. i still can't seem to get it to work.

if someone could point me in the right direction that would be awesome. or walk me through it like a toddler lol
User avatar
Hades
Forum Commoner
Posts: 35
Joined: Mon May 08, 2006 4:49 pm

Post by Hades »

I get the same error.

Running Subversion on SuSE 9.3 Pro on the server.

Subversion and Subversion-Server installed via APT.

Apache restarted.


I just keep getting the same error message as Mr. Potatoes.

Can anyone help?
User avatar
Hades
Forum Commoner
Posts: 35
Joined: Mon May 08, 2006 4:49 pm

Post by Hades »

Sorry for the double post... Just to let you know I found this..
TortoiseSVN FAQ wrote:This message comes in different flavours. You might be seeing this error when:

* PROPFIND Request Failed
You tried to browse the parent path of a repository instead of the repository itself using an older version of TortoiseSVN. Try appending the name of the repository you wish to access, or upgrade TortoiseSVN to 1.2.3 or newer.
* PROPFIND Request Failed
You forgot to append a '/' slash to the end of the URL you entered. Older versions of TSVN requires that there be a '/' after the repository name. If you forget this, TSVN will strip the repository name from the URL and therefore try to access the parent directory.
* Lock Request Failed
You tried to lock a file in your working copy which no longer exists in the repository. Update your working copy before trying to lock files.

For more information about what actually caused the error, seek out the Apache error log.
But this still didn't work for me.

The error I get is

Code: Select all

Error      PROPFIND request dailed on '/svnroot'
Error      PROPFIND of '/svnroot': 200 OK (http://mydomain.com)
Post Reply