Forum Discussion
Altera_Forum
Honored Contributor
9 years agoOk, I have the solution !!! :cool:
In the procedure the variable "SVN" was unknown.
# global SVN Variables
set Glob(SVNDIR) ../MySvnPath/bin/svn.exe
set Glob(SVN) "$Glob(SVNDIR)"
...
proc get_subversion_revision { file_name } {
global done
global Glob
# The maximum number of seconds to wait for the svn info
# command to complete
set timeout_seconds 30
# The svn info command with filename that is run
set cmd "$Glob(SVN) info ${file_name}"
# Attempt to get the version information.
# If the command can't be run, return an error.
# Otherwise set up a file event to process the command output.
if { } {
return -code error $input