Quote:
broadblues wrote:
hg and hggit are written in python, never heard of 'pearl' although 'perl' is quite popular.
Arrgh, yes, of course...sorry
Quote:
There a vareiety of solutions IMHO.
1.
If the projects are built by make.
Then just add 'make' and make will check if anything has changed, and only build if something has (usually).
If yoo must avoid that way because make does too much other stuff or the project is large and takes a long time for make to decide not to do anything then:
Never thought of that, yes that would be the easiest solution, thank you
Quote:
2.
perhaps do
set updates `hg update` ; note backticks
if NOT EQ $updates "0 updates found"
make project
endif
I will keep this one in mind, slick way to what i wanted to, thank you
Quote:
3. or write a master makefile that perfoms the action of your script and only calls the project makefile if there are changes
4. or write a python script. using the hg modules directly.
I'm no master when it comes to makefiles or python, i can do some alterations to make it build on AmigaOS, but thats about it
Remember, i wasn't even able to recompile your hggit version, let alone update it to the latest root
Quote:
I personally would never write a amigados script for anything, unless I had no choice.
I do normally keep off my hands of it either, i do AREXX and for now it does anything i want, but i thought why don't give it a shot?
Thank you for all the hints Andy
PS: You think you got some time on your hands in the near future for updates to mercurial and hggit?