|
VerySimple Developer Blog
Technical Tips, Tricks and Rants.
Comments:
6 Comments posted on "Install Apache + Subversion on Windows"
King Wilder on September 1st, 2007 at 6:47 pm #
I want to thank you for this Blog post. I have been pulling my hair out for days trying to figure out how Subversion works and how to get it installed correctly. With the help of you blog, I have finally got it to work on my local network so I can easily work between my various client machines. Thanks again, King Wilder
King Wilder on September 1st, 2007 at 7:13 pm #
I’m coming from using Microsoft Visual Source Safe for source control. But I’m working between a few computers in my office and some with Windows Vista and I can’t install VSS 6.0d. So I have a question, just so I know how to use Subversion correctly. I build an ASP.NET application on my development laptop, when I’m done for the day, I close the project and Visual Studio, then open Windows Exploer and I use TortoiseSVN. I right-click on the folder for my .Net project and select the TortoiseSVN > Import command. Then I import to my server (a separate machine) in the project repository. Do I need to delete the Project folder and its contents? Scary… Then when I want to work on it I create a folder location on my local laptop where I want to checkout my project files, and I right-click the folder, select TortoiseSVN > Checkout and find the repository project and click OK. The part I’m not clear on is what I do with the project folder I just worked on. Does everybody who works with SVN checkout a project to a new folder and then delete the folder when they are done? Thanks,
King Wilder on September 1st, 2007 at 7:15 pm #
Also, re: your blog, there seems to be some CSS or HTML codes surrounding your code examples that I was confused about at first. My email is info@kingwilder.com. King
Jason on September 2nd, 2007 at 1:07 am #
Hey King, Switching from VSS to SVN can be a little weird at first because SVN uses what is called optimistic version control. Unlike VSS you never actually check out a file and lock it from others using it. As far as using it with .NET apps - one thing with dot net is to make sure to configure the “.NET Hack” otherwise for some reason visual studio will complain. Also you need to do this prior to checking out projects. Or if you do, you’ll have to re-check out your projects. Something that is actually really nice about SVN, unlike VSS is that you don’t have to have a single dedicated “working folder” for your app. Basically you can just create a folder anywhere and do a checkout. So, don’t really need to worry about wiping out anything. You can just create a temp folder, do an update and see if it looks ok. There’s also an SVN plugin for visual studio http://ankhsvn.tigris.org/ but I think actually the explorer interface is easier to use.
King Wilder on September 2nd, 2007 at 12:18 pm #
Jason, this has been a little bit of a learning curve, but I’m starting to warm up to it.
Jason on September 6th, 2007 at 11:54 am #
Hey King - You are right, you don’t need to wipe out anything once your repository it setup. What is more, the project is not really tied to any specific folder so you can move it all around or whatever unlike VSS which wants the working folder in a set location. You’ll notice your project have a hidden folder in them “.svn” (or “_svn” if you have the .NET hack). SVN keeps all the internal information in this folder and so it’s portable - you can move it around, make a copy, etc. You’re not locked into having a working folder in one location. This is highly convenient for branching too. Also, you are right about VSS that you were set up as a single-user. You can actually open it up for other users by sharing your VSS database file, but VSS has never been really easy for sharing with people that are not on your local LAN. Becasuse it relies on windows file sharing, you basically have to set up a VPN to let remote people access the repository. If you don’t have the .NET hack on and you are doing .NET development, I’d definitely recommend you set that before going any further. Visual studio for whatever reason does not like the folder “.svn” inside a .NET project and it will sometimes crash when parsing the project. Post a comment
|
|
||||||||||||