Need Stupid Person's Guide to SVN
Moderator: Moderators
Need Stupid Person's Guide to SVN
I can't figure out for the life of me how to set up an SVN. I got this account on with Google Code and then downloaded VisualSVN... But I just don't know how to actually get my files on the the internet.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Need Stupid Person's Guide to SVN
get tortoisesvn (after uninstalling visual)
Then restart computer
make a folder, right click on folder, svn checkout
put in relevant svn address etc
add files to folder, right click folder, tortoise svn, commit
profit???
Then restart computer
make a folder, right click on folder, svn checkout
put in relevant svn address etc
add files to folder, right click folder, tortoise svn, commit
profit???
Re: Need Stupid Person's Guide to SVN
What is my "relevant svn address"?
This is the error I get.

This is the error I get.

- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Need Stupid Person's Guide to SVN
YOu aren't giving it the correct svn address. YOu're probably giving it the trac tool address.
For example, the evo actual svn address is svn.evolutionrts.info and the trac tool is at redmine.evolutionrts.info.
Redmine is just a fancy frontend for viewing what is actually in the repository. Read up in google's faq for where to find your svn address.
For example, the evo actual svn address is svn.evolutionrts.info and the trac tool is at redmine.evolutionrts.info.
Redmine is just a fancy frontend for viewing what is actually in the repository. Read up in google's faq for where to find your svn address.
Re: Need Stupid Person's Guide to SVN
Any reason you didn't choose mercurial rather than subversion?oksnoop2 wrote:I can't figure out for the life of me how to set up an SVN. I got this account on with Google Code and then downloaded VisualSVN... But I just don't know how to actually get my files on the the internet.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Need Stupid Person's Guide to SVN
Tortoisesvn pretty much blows the pants off of any other windows based svn software.
If he wishes to get contributors later, mercurial or whatever it's spelled is pretty obscure and not as simple as it is for others who already are using svn.
Edit: Found your svn link... it's on the front page...
If he wishes to get contributors later, mercurial or whatever it's spelled is pretty obscure and not as simple as it is for others who already are using svn.
Important bit highlightedhttp://code.google.com/p/support/wiki/GettingStarted wrote:Working with your Source Repository┬Â
Each project has its own Subversion or Mercurial repository.
* Learn more about using Subversion.
* Learn more about using Mercurial.
Perform the following to check code in and out of your source repository:
1. For instructions on how to check out a project's repository from the command line, go to the Source tab. Any user, regardless of whether they have a Google account, can check out and browse the repository anonymously, while project owners and committers are granted full read and write permissions. You can add project owners and committers at the Administer tab.
2. If you plan on synching from an existing repository, you must click the Reset This Repository link at the bottom of the Source tab page before making any other changes to your project's repository. This includes creating any new wiki pages because resetting the repository results in the loss of wiki content. Do not start a wiki page in your project before you complete this step.
After you've been working with your project for a while, the following subtabs on the Source tab will come in handy:
* Browse subtab -- Allows you to browse the files and directories in your project as they existed at a point in time.
* Changes subtab -- Lists changes made to the repository. You can also use this subtab to start a code review of any change.
Edit: Found your svn link... it's on the front page...
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://conflictterra.googlecode.com/svn/trunk/ conflictterra-read-only
Re: Need Stupid Person's Guide to SVN
Might want the read-write SVN URL for members...Forboding Angel wrote:# Non-members
EDIT: also there simply isn't yet the default {branches,tags,trunk} structure yet.
So:
- Find the read-write SVN URL for members
- Remove /trunk from the end if it is present. (Because trunk doesn't exist yet)
- Right click -> SVN Checkout -> enter the read-write SVN URL for members, without /trunk on the end
- Create 3 subfolders in the newly created folder: trunk, tags, branches
- Right click on the 3 directories -> TortoiseSVN -> Add -> OK
- Right click on the top level folder -> SVN Commit -> message: "structure" -> OK
- Now the URLs with /trunk on the end should work
- Erase the checkout from disk, you don't need one of the complete repository. (And if you make good use of branches and tags a complete checkout will become HUGE.)
- Right click -> SVN Checkout -> enter the read-write SVN URL for members, with /trunk on the end
- Copy/cut & paste your files in the empty SVN checkout folder
- Right click -> TortoiseSVN -> Add -> select the files you want to import -> OK
- Right click -> Commit -> message: "initial import" -> OK
- Profit!
