Free Version Control

Help with setting up and configuring custom user tools in UltraEdit (based on command line input)

Free Version Control

Postby jer99 » Mon Nov 05, 2012 5:41 pm

I'm looking for a method to maintain some version control for some programming code I'm writing. Doesn't have to be for more than 1 user. Would prefer 2, but beggars can't be choosers.
I have UltraEdit and UltraCompare. I do not have UEStudio.
Is there anything out there that would allow me to add a rudimentary version control to UE?
User avatar
jer99
Newbie
 
Posts: 5
Joined: Thu Feb 16, 2006 12:00 am

Re: Free Version Control

Postby fgeurts » Mon Nov 05, 2012 7:17 pm

Check out this topic http://www.ultraedit.com/forums/viewtopic.php?f=12&t=11140 for a discussion of implementing version control. It also mentions Tortoise SVN which is an open source product which you can download from http://tortoisesvn.tigris.org/

Cheers...

Frank
User avatar
fgeurts
Advanced User
Advanced User
 
Posts: 55
Joined: Sun Feb 20, 2005 12:00 am
Location: Brisbane, Australia

Re: Free Version Control

Postby Mofi » Tue Nov 06, 2012 1:28 am

Do you know that UltraEdit supports Version Backup. Perhaps this is already enough for you.

For my single user projects I use RAR as version backup tool. I added to the project tools of UltraEdit respectively UEStudio the command

"Program files directory of WinRAR\Rar.exe" a -agYYYY-MM-DD_nn -ac -cfg- -m5 -r -s -n*.c -n*.cpp -n*.h "Path to directory with the RAR archives\Projectname_ " "project directory path"

On execution of this tool RAR creates an archive in Path to directory with the RAR archives with file name starting with Projectname_ and appended to the name is for example for today 2012-11-06_01. The last number is an automatic increasing number starting with value 1 for backups done on same day. From time to time I delete the RAR archives not needed anymore, mostly when releasing a new public version.

As you can see you can use -n several times to specify the files to include in the archive. I don't want temporary files like object files in the archive. You can use also -n@NameOfInlcudeFile where the include file is a text file containing line by line the wildcard patterns for files to include in the archive. As I use this simple RAR based version backup for several projects, I use an include file which is identical for all projects of same type. It is possible to use other advanced options like backup only files with archive attribute set and let RAR remove the archive attribute after backup into archive to put into an archive only the files modified since last backup. But I wanted always full backups of my projects to make it easier to restore a project version completely.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3937
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Custom User Tools/Tool Configuration