I can't get it to update. how do i make the svn command work in dos / command line... for tortoise.
SVN can be troublesome to install the first time if you aren't used to it. Personally, I blame the lack of good, clear online guides -- too much info is available for server installations without clearly differentiating.
The advice above is all correct and sound, but I don't know your level of knowledge, so will go back to the basics. If you have installed tortoiseSVN, then well done! It's a useful client, especially if you plan on modifying the code yourself. However, it does expect you to have SVN already on your machine. If all you have done is install tortoise, you won't have SVN.exe on your machine.
Theraze has already mentioned cygwin and I would strongly recommend that. Not only do you get access to svn.exe, but you also get a whole host of other goodies, such as diff and scp that can be useful, depending on what it is you do. The other option is to download and install one of many independent versions. I personally like
SlikSVN, if you are using windows, but they are all much the same.
The second thing to check is that your PATH variables point to the relevant folder. Again, cygwin is useful, because if you whack a reference in to that then you don't have to worry about doing it again if you suddenly decide diff would be useful. However, it doesn't have a character limit that I've ever hit, so don't worry too much.
If you use windows 7 (and possible vista) open your environment variables window. Go to Control Panel, System and Security, System, then click on Advanced System Settings (on the left) to open the System Properties window. Go to the "Advanced" tab (you may be already on it) and click on "Environment Variables". Look at the lower box. It should say "System Variables". Select the variable that is called "Path" and click Edit.
Go to the end of the line, and now you need to add a pointer to the directory that contains svn.exe. All path references need to be seperated with a semi-colon. Using SlikSVN as the example then, I would add the following to my Path:
Code:
C:\Program Files\SlikSvn\bin\;
To give you an example, on my netbook (the machine I'm using right now) I do not have cygwin installed and my path looks like this:
Code:
C:\Program Files\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\EgisTec MyWinLocker\x86;C:\Program Files\EgisTec MyWinLocker\x64;C:\Program Files\TortoiseSVN\bin;C:\Program Files\SlikSvn\bin\; C:\Program Files\ant\bin\;C:\Program Files\Windows Live\Shared
Hopefully you can see tortoiseSVN, ant and SlikSVN all feature. Tortoise SVN and ant (I think) added themselves on installation. SlikSVN I had to do manually.
Hope that's been of some use.