LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Revision Control application for personal-local use? (http://www.linuxquestions.org/questions/linux-newbie-8/revision-control-application-for-personal-local-use-851269/)

mike11 12-19-2010 08:01 PM

Revision Control application for personal-local use?
 
Hi All,

I'm looking for an application which does what is commonly termed as Revision Control (RC). Here is the scenario: I have a directory holding numerous files and subdirectories, all belong to a project I work on. I routinely edit/update some files and wish to record `snapshots' of the entire directory so I can compare different revisions. Of course I can store a tarred version of the directory everytime I change something but this is immensely inefficient. So What I would like is to `upload' a snapshot into an archive file everytime I change something and then being able to `download' a snapshot later (for comparison/backup). Only I work on the project and I use a single machine so everything is local (no network connections).

My requirements are:
1. Being able to easily download/upload with one command an entire directory with all its files and subdirectories.
2. Any change to the directory induces a new version including renaming/moving files (even if their content hasn't changed),
3. The snapshot is aware of symlinks and saves them as such (and not as file they point to).
4. The files in a snapshot retain their original date when I `download' from the archive.
5. A GUI allows to easily navigate between stored snapshots and see which changes occurred.

This may be a tall order but the requirements seem reasonable. Wikipedia has some information on RC but I am trying to avoid experimenting with 5-10 different apps which is very time consuming.

Thanks,
Mike.

gilead 12-19-2010 08:31 PM

I use subversion to do something similar here. The first 3 of your requirements are definitely supported. However, it's not automatic - a commit would be required. I think that 4 (time stamps) is as well, but I'm not at a box where I can check at the moment. The client GUI I couldn't say since I only use the command line (it's more convenient for what I'm doing) but there is a comparison of subversion clients here. These links may help as well:

http://subversion.apache.org/faq.html
http://svnbook.red-bean.com/

mike11 12-19-2010 08:54 PM

Thanks. would you know how it compares with git?.

mike11 12-20-2010 06:47 PM

Also, any inputs on mercurial?.

Thanks.

chadahoochie 12-20-2010 11:23 PM

I would say subversion or mercurial would solve your problem. You may be better off taking a look at something like Fossil, which may be much easier for you to manage.


All times are GMT -5. The time now is 01:08 PM.