Handle cases when only the cvs key value is set for $Revision:$ and $Name:$

r1735 | ffr | 2007-03-28 13:04:29 +1000 (Wed, 28 Mar 2007) | 2 lines
This commit is contained in:
Ferdi Franceschini
2007-03-28 13:04:29 +10:00
committed by Douglas Clowes
parent b2706c74cf
commit 932bf1bf18
2 changed files with 10 additions and 6 deletions

View File

@@ -1,7 +1,9 @@
# TODO Return filename from nxcreatefile and call nxreopen nxclose etc
# with filename
set nx_content_release_tag [lindex [string map {"$" ""} {$Name: not supported by cvs2svn $}] 1]
set nx_content_revision_num [lindex [string map {"$" ""} {$Revision: 1.7 $}] 1]
set tmpstr [string map {"$" ""} {$Name: not supported by cvs2svn $}]
set nx_content_release_tag [lindex $tmpstr [llength $tmpstr]]
set tmpstr [string map {"$" ""} {$Revision: 1.8 $}]
set nx_content_release_tag [lindex $tmpstr [llength $tmpstr]]
MakeNXScript
sicsdatafactory new nxscript_data