+ Reply to Thread
Results 1 to 10 of 10

Thread: TortoiseSVN

  1. #1
    Senior Member
    Join Date
    Feb 2005
    Posts
    2,071

    Default TortoiseSVN

    Following on from the Data Backup thread without hijacking it...

    Can anybody post an idiots guide to setting up and using TortoiseSVN? I just downloaded it to try it out and I didn't have a clue what I was doing - it seemed to just be making me create folders all over the place with nothing in them.

    I've needed a good backup method for ages as I use several different PCs for development work, and by the sound of it TortoiseSVN is exactly what I need. I just can't figure out how to make it work properly!
    Dr Mal: Practice of Horror PC | Mac
    Crime Solitaire PC | Mac | iOS
    Magicville: Art of Magic PC | Mac
    Desktop Gaming Ltd | Facebook | YouTube | Twitter

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Location
    Montreal, Quebec
    Posts
    797

    Default

    First off, read the book: http://svnbook.red-bean.com/

    Second, here's how you do it really quick.

    Right click where you want the repository dir to go and click "Create Repository"

    Get your project together and clean it (remove all unnecessary binaries)

    Right click the project dir and click "Import..." - then choose the repository dir you just made. Once it's imported (if there's no file locks, so close VS or whatever first) then you browse the repository to see if it ended up where you want it.

    Ok, it's still not under real subversion control, so the final step is to check the project out to another project directory. I usually end up with something like <ProjectName>SVN - this is the working local copy.

    Delete your old project, or move it if you're feeling paranoid, and always work off your local working copy. I recommend deletion to avoid confusion with directories. When you're done for the day, or done a feature, whichever you prefer, right click the directory and click "commit" - all of the changed files will show up. This includes the binaries - I recommend you do not put the binaries (except art) under SVN control. Deselect the binaries and proceed. Voila, revision control.

    Hope this helps.
    "Don't lose your loose change."
    Jason Maskell, Tamed Tornado Software

  3. #3
    Senior Member
    Join Date
    Feb 2005
    Posts
    2,071

    Default

    Certainly does - thanks Jason!
    Dr Mal: Practice of Horror PC | Mac
    Crime Solitaire PC | Mac | iOS
    Magicville: Art of Magic PC | Mac
    Desktop Gaming Ltd | Facebook | YouTube | Twitter

  4. #4
    Senior Member
    Join Date
    Feb 2005
    Posts
    2,071

    Default

    Bloody hell, this is superb!

    I don't know how I've got through the last six years without using this. Would have made my life a lot easier.
    Dr Mal: Practice of Horror PC | Mac
    Crime Solitaire PC | Mac | iOS
    Magicville: Art of Magic PC | Mac
    Desktop Gaming Ltd | Facebook | YouTube | Twitter

  5. #5
    Junior Member
    Join Date
    Jan 2007
    Location
    Kansas City, MO, USA
    Posts
    2

    Default File Hamster

    For those who may want to start learning about version control while having some training wheels on should check out FileHamster. (Although Subversion isn't difficult to use, it may be too much too fast for some to learn.)

  6. #6
    Senior Member
    Join Date
    Jun 2007
    Posts
    321

    Default

    Tortoise can create repositories? Does that work to create repositories on a Windows machine?

  7. #7
    Senior Member
    Join Date
    Jul 2004
    Posts
    291

    Default

    Quote Originally Posted by Nikos Beck View Post
    Tortoise can create repositories? Does that work to create repositories on a Windows machine?
    Yes it does, no Subversion server required for use only on the one machine.

    EDIT: For anybody who thinks of creating a shared directory on a Windows machine to expose the repository to other machines without running a Subversion server, the documentation strongly cautions against that. The repository can become corrupted when accessed that way.

  8. #8
    Junior Member
    Join Date
    Jul 2007
    Location
    UK
    Posts
    10

    Default

    Try this:

    http://awakenedmmo.org/wiki/How_to_g...th_our_project

    It's a start up tutor i put together for my project. Obviously, it's designed for my project. But should give you a good guide. For the setup section.
    The impossible - what nobody can do until somebody does.
    SRA:www.awakenedmmo.org

  9. #9
    Senior Member
    Join Date
    Aug 2004
    Location
    Arlington, VA
    Posts
    656

    Default

    Highly recommend cvsdude.com for keeping you repositories safe. They have the advantage of being in a different location, hands off backups and you can get to it from anywhere. I’ve been using them for years with zero problems.
    Last edited by MrPhil; 07-27-2007 at 10:54 AM.
    Philip Ludington
    Mr. Phil Games

  10. #10
    Administrator
    Join Date
    Jul 2004
    Posts
    3,401

    Default

    I eventually moved my repositories to my own server, but i used cvsdude for a while and I can also recommend them.
    Steve Verreault - Twilight Games
    http://www.twilightgames.com --- http://www.indiegamer.com

    "Do you really think it is weakness that yields to temptation? I tell you that there are terrible temptations which it requires strength, strength and courage to yield to.” - Oscar Wilde

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts