Changeset 1fe9365 in tol
- Timestamp:
- Nov 5, 2010, 9:00:43 AM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- cdc90de
- Parents:
- 30b75c68
- File:
-
- 1 edited
-
tol/stdlib/general/system/_system.tol (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/general/system/_system.tol
r30b75c68 r1fe9365 535 535 ////////////////////////////////////////////////////////////////////////////// 536 536 { 537 Real OSCmdWait("svn info \""+path+"\" > svn_info.txt"); 538 Text svn_info.txt = ReadFile("svn_info.txt"); 539 Set lines = Select(Tokenizer(svn_info.txt,"\n"),Real(Text line) 540 { 541 TextLength(Compact(line))>0 542 }); 543 Text svn_info = SetSum(For(1,Card(lines),Text(Real k) 544 { 545 Text t = lines[k]; 546 Case( 547 t=="","", 548 TextBeginWith(t,"Ruta:"),"", 549 1==1,Replace(t,"\"","'"))+"\n" 550 })) 551 }; 537 If(!OSDirExist(path+"/.svn"),"", { 538 Real OSCmdWait("svn info \""+path+"\" > "+path+"/.svn/svn_info.txt"); 539 Text svn_info.txt = ReadFile(path+"/.svn/svn_info.txt"); 540 Replace(svn_info.txt,"\"","'") 541 })}; 552 542 553 543 //////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.
