Changeset 228 for trunk/lingosource/castlib1/svn_Utilities.ls
- Timestamp:
- 03/20/09 18:08:22 (3 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib1/svn_Utilities.ls (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib1/svn_Utilities.ls
r225 r228 1393 1393 1394 1394 if ilk(infolist) <> #proplist then 1395 infolistPath = thePath & "memberInfo.xml" 1396 infolist = mReadXML_2_List(me, infolistPath) 1397 if ilk(infolist) <> #proplist then infolist = [:] 1398 1399 infolist = infolist.getaprop(symbol(fname)) 1400 if ilk(infolist) <> #proplist then infolist = [:] 1395 1396 offs = offset("--!memberProperties:", scrtext) 1397 1398 if offs > 0 then 1399 infolist = scrtext.char[offs + 20 .. length(scrtext)] 1400 offs = offset("]", infolist) 1401 if offs > 0 then 1402 infolist = value(infolist.char[1 .. offs]) 1403 end if 1404 end if 1405 1406 if ilk(infolist) <> #proplist then 1407 infolistPath = thePath & "memberInfo.xml" 1408 infolist = mReadXML_2_List(me, infolistPath) 1409 if ilk(infolist) <> #proplist then infolist = [:] 1410 1411 infolist = infolist.getaprop(symbol(fname)) 1412 if ilk(infolist) <> #proplist then infolist = [:] 1413 end if 1414 1401 1415 end if 1402 1416 … … 2549 2563 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2550 2564 2565 on mSVN_Update_AllCastlibs_and_source me, chooseNewPath, onlyUpdate_SVN_WorkingFolder, selectionList, revisionNumber, dontShowAlert 2566 mSVN_Update_Working_Copy_ScriptText me, revisionNumber, void, #all, 1 2567 mSVN_Update_SelectedCastlib me, chooseNewPath, onlyUpdate_SVN_WorkingFolder, #all, revisionNumber, dontShowAlert 2568 end 2569 2570 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2571 2551 2572 on mSVN_Update_SelectedCastlib_and_source me, chooseNewPath, onlyUpdate_SVN_WorkingFolder, selectionList, revisionNumber, dontShowAlert 2552 2573 mSVN_Update_Working_Copy_ScriptText me, revisionNumber, void, selectionList, 1 … … 2560 2581 castlibList = 0 2561 2582 2562 selectionList = string(selectionList) 2563 if length(selectionList) > 0 then 2564 2565 offs = offset("'", selectionList) 2566 repeat while offs > 0 2567 put QUOTE into char offs of selectionList 2583 if symbolP(selectionList) then 2584 -- #all 2585 clnum = the number of castlibs 2586 castlibList = [] 2587 repeat with n = 1 to clnum 2588 castlibList.add(n) 2589 end repeat 2590 2591 else 2592 2593 selectionList = string(selectionList) 2594 if length(selectionList) > 0 then 2595 2568 2596 offs = offset("'", selectionList) 2569 end repeat 2570 2571 if char 1 of selectionList <> "[" then put "[" before selectionList 2572 if the last char of selectionList <> "]" then put "]" after selectionList 2573 2574 selectionList = value(selectionList) 2575 if listP(selectionList) then 2576 clnum = the number of castlibs + 1 2577 castlibList = [] 2578 selectionListCnt = count(selectionList) 2579 repeat with n = 1 to selectionListCnt 2580 2581 cl = castlib(selectionList[n]) 2582 if ilk(cl) = #castlib then 2583 int = cl.number 2584 if castlibList.getPos(int) < 1 then 2585 castlibList.add(int) 2586 end if 2587 else 2588 int = integer(selectionList[n]) 2589 if integerP(int) then 2590 if clnum > int then 2591 if castlibList.getPos(int) < 1 then castlibList.add(int) 2597 repeat while offs > 0 2598 put QUOTE into char offs of selectionList 2599 offs = offset("'", selectionList) 2600 end repeat 2601 2602 if char 1 of selectionList <> "[" then put "[" before selectionList 2603 if the last char of selectionList <> "]" then put "]" after selectionList 2604 2605 selectionList = value(selectionList) 2606 if listP(selectionList) then 2607 clnum = the number of castlibs + 1 2608 castlibList = [] 2609 selectionListCnt = count(selectionList) 2610 repeat with n = 1 to selectionListCnt 2611 2612 cl = castlib(selectionList[n]) 2613 if ilk(cl) = #castlib then 2614 int = cl.number 2615 if castlibList.getPos(int) < 1 then 2616 castlibList.add(int) 2617 end if 2618 else 2619 int = integer(selectionList[n]) 2620 if integerP(int) then 2621 if clnum > int then 2622 if castlibList.getPos(int) < 1 then castlibList.add(int) 2623 end if 2592 2624 end if 2593 2625 end if 2594 end if2595 end repeat2626 end repeat 2627 end if 2596 2628 end if 2597 2629 end if
Note: See TracChangeset
for help on using the changeset viewer.
