how to automatise the VCS?

Tim Michelsen timmichelsen at gmx-topmail.de
Tue Aug 21 00:13:38 BST 2007


Hello,
I am very new to version control in gerneral and Bazaar in special.

I want to use Bazaar for my own codings like system tools, small helpful 
bash scriptings and for my python learning experineces, gnuplot files etc.

all scripts reside in a branch at
~/devel/bash
~/devel/python

Since I am not a fulltime programmer and coder I'd like to automatise 
the process. If not I will forget that I once started with using SCM...

* is there a possibility to watch my whole directories under ~/devel and 
  do a automated commit after a file in these directories has been changed?

like

develdir = ~/devel
if a file in $develdir has been changed:
	bzr commit develdir/path/tochanged/file/changedfile.sh
if a file in $develdir had been added then:
	bzr add develdir/path/tochanged/file/changedfile.sh
...

If there isn't something like a program which watches directories then 
cron could be used. But I'd rather have this immedeately done.

I am not looking for a backup tool. I just want to start getting used to 
SCM.

thanks in adavnce for your hints.

Kind regards,
Tim




More information about the bazaar mailing list