PDA

View Full Version : Q: how would you update automatically versions?


Leionaaad
01-07-2009, 07:51 PM
So let's say you have a repository in one place, you have a few machines checking the scripts if they have the latest versions. How can I do that?

I thought about having a procedure defined in the repository, like

global proc float(float $version){
return $version
}


and of course you have a procedure that compares two values and does other stuff.
the other option would be to use some global variables, but I want avoid that.
i am looking for something efficient. what do you suggest?

Robert Bateman
01-08-2009, 03:16 PM
So let's say you have a repository in one place, you have a few machines checking the scripts if they have the latest versions. How can I do that?


insert a line into user.mel or maya env that runs a system call for an svn -update (or whatever version control software you're using cvs, vss, svn, perforce etc) on the internalVar -userScriptsDirectory.

Leionaaad
01-08-2009, 09:18 PM
I was aiming at something outside a version control system, but thanks.

CGTalk Moderation
01-08-2009, 09:18 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.