Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • August 31, 2015, 06:54:24 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Good Article For Beginners On Version Control (w/ Pictures & Examples)  (Read 10200 times)

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Read more about this member.
    • Donate to Member
There is a very good introduction to version control at BetterExplained.


Found via Lifehacker.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,958
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #1 on: October 01, 2007, 07:42:14 PM »
something's missing..
where the picture of the user screaming at the computer screen when he can't get the thing to check out properly because of some nonsensical error?

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,896
    • View Profile
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #2 on: October 02, 2007, 07:21:09 AM »
Always funny to read:
either: save your word document with _v2 at the end
or read through several pages of information to set up a version control system.

That said I can't get my colleague to use one of these or I would be a lot happier working on a functions include (web development) without having to yell "do you have this file open" a few times each day.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,958
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #3 on: October 02, 2007, 09:56:03 AM »
in case my comment gave the wrong impression, as annoying as version control can sometimes be, it's simply something you must learn how to use these days as a programmer.

svn is the easy choice of software, and there are some nice easy programs to get you started on a windows platform (http://tortoisesvn and http://rapidsvn).  I use to be a big fan of tortoisesvn but the shell integration can be a bit intrusive so i tend to use RapidSvn mostly now (it's a bit buggy but it gets the job done).

on linux the commandline main svn programs are fine -- but if you are hosting an svn repository, do expect to struggle a little to get it up and running initially.

mwb1100

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,429
    • View Profile
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #4 on: October 02, 2007, 10:31:28 AM »
Here's the best intro to version control I've come across:

http://www.ericsink..../source_control.html

Eric Sink is pretty much always a good read.

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,896
    • View Profile
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #5 on: October 02, 2007, 10:55:42 AM »
There was some kind of decentralized version control software that started with a 'd' i think but I can't remember the name just a professor that created it mostly himself with his team. It worked really well but at the time I was looking for filehamster instead (i realised)... ahh I think it was Darcs (http://darcs.net/). ahh I have to say i just dabbled with it but in princple it seemed less strict than subversion + tortoise. Always found it overly complex for personel development use but then I only create websites and AHK scripts :)
« Last Edit: October 02, 2007, 10:58:21 AM by justice »

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,708
    • View Profile
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #6 on: October 02, 2007, 05:04:05 PM »
Nice articles. Thanks guys.

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • gravatar avatar
  • Posts: 1,321
    • View Profile
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #7 on: October 18, 2007, 11:10:05 AM »
hah very good find! got me into reading about VCS again

thanks tinjaw  :Thmbsup:

Mandork

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 64
  • Hopeless or hapless?
    • View Profile
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #8 on: October 19, 2007, 05:02:35 PM »
Speaking of FileHamster, does anyone here actually use it for day-to-day work?  I have downloaded it and started using it (in conjunction with SyncBack, just in case) as a means of keeping track of my PhD thesis stuff.  It seems okay, but I just wondered what others' experiences were like.
Computers are useless. They can only give you answers.
Pablo Picasso

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #9 on: October 19, 2007, 05:52:42 PM »
I haven't used it daily, but I have used it very often. I haven't had any problems and I trust it on some of my most important projects.

nevf

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 103
    • View Profile
    • Capture and Find the Content You Need... instantly!
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #10 on: October 21, 2007, 05:00:16 PM »
I wrote "Get up and running with TortoiseSVN and Subversion in 15 minutes." a while back which will be of interest to folks starting out with SubVersion.
Neville Franks, "Save anything you see on the Web or on your PC" with Surfulater

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,958
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #11 on: October 21, 2007, 06:25:36 PM »
Oh that's excellent nevf!  Very nice  :up: :up: :up:

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #12 on: October 21, 2007, 08:47:30 PM »
Yes, nevf, very nice. I have sent you a few credits for this. Thanks.

jandi

  • Participant
  • Joined in 2007
  • *
  • Posts: 7
    • View Profile
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #13 on: October 22, 2007, 02:09:37 AM »
Speaking of FileHamster, does anyone here actually use it for day-to-day work?

I tried.  I really really tried.  Seemed like an ideal, easy solution for my MSc Thesis.  But given that it creates copies at every save, and that I am a compulsive saver (habit acquired from long time use of MS Word for sensitive documents that cause the program to crash precisely when you have not saved your work), I was not too happy with the tons of copies generated every day.   I decided to take the time to learn SVN (well, I'm using TortoiseSVN on a local repository), and am quite happy.

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #14 on: October 22, 2007, 07:06:09 AM »
But given that it creates copies at every save,

FYI: There is an option (look at the files properties in FileHamster) for TimeDelayBetweenRevisions. This will limit how often a file is saved if you save often and don't want saves from every minute. The description of the option is "Specifies an artificial time delay between revisions limiting the number of revisions that can occur during a specified time period."

I decided to take the time to learn SVN (well, I'm using TortoiseSVN on a local repository), and am quite happy.

Glad to hear that another person has joined the cult learned to use Subversion.  :Thmbsup:

Muadib

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 29
    • View Profile
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #15 on: October 25, 2007, 04:21:20 PM »
I was not too happy with the tons of copies generated every day.

Complementing tinjaw reply, you can adjust FileHamster to limit the amount of copies you wish to keep. Above that limit, it starts deleting old versions. I use this approach together with the one cited by tinjaw. In my case, I've adjusted to not save within the period of 5 minutes. You can find these options with a right-click above the folder been monitored (inside FileHamster's main window), choosing "Options" and going to "MaxRevisions".


f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 8,858
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Donate to Member
Re: Good Article For Beginners On Version Control (w/ Pictures & Examples)
« Reply #16 on: October 25, 2007, 06:38:02 PM »
something's missing..
where the picture of the user screaming at the computer screen when he can't get the thing to check out properly because of some nonsensical error?
* f0dder remembers mouser trying to set up subversion on the server.

on linux the commandline main svn programs are fine -- but if you are hosting an svn repository, do expect to struggle a little to get it up and running initially.

Well, if you do have some unix/linux experience, subversion is actually extremely easy to set up. Especially if you have a distro with a decent package manager (and you choose to use it). All it takes is running svnserve with a few well-explained command-line parameters, and "svnadmin create" to create a repository.

What's harder, and requires reading the handbook, is choosing a decent layout. And this can be hard when you're starting with subversion, I know I certainly messed up myself: first I thought I'd use a single repository for all my stuff. Once I moved to repo-per-project I didn't think about stuffing files in a "dev" (or "trunk" or "current" or whatever you want to call it) subfolder, etc...

And then there's of course getting into the habit and mindset of using version control, which tends to be the hardest, at least for some people. But it's nice once you get everything clicking into place.

The thing that remains for me, personally, is some commit log dicipline, deciding on some tags to add, and a format that's easily grepable so I can write a changelog.txt automagically...
- carpe noctem