Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Ignore:
Timestamp:
02/18/08 05:09:49 (4 years ago)
Author:
alex
Message:

enabled most of the bbedit function also for windows using user definad apps as relacements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib1/svn_Utilities.ls

    r146 r148  
    29852985end 
    29862986 
     2987 
    29872988-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    29882989 
    2989 on mGetSVNDiffBinaryPath me, workingCopies 
    2990    
    2991   if (mCheckForXtra(me, "budapi") + (mCheckForXtra(me, "Shell") + mCheckForXtra(me, "ff_shell"))) < 2 then 
    2992     alert "You need the shell xtra and the buddyApi xtra in order to proceed" 
    2993     return "" 
     2990on mGetWorkingCopyPath me, movieIdentifier, chooseNewPath, workingCopies, selectMsg 
     2991   
     2992  movieIdentifier = string(movieIdentifier) 
     2993  if length(movieIdentifier) < 1 then 
     2994    movieIdentifier = the moviepath & the moviename 
    29942995  end if 
    29952996   
     
    30013002  end if 
    30023003   
    3003    
    3004   svnBinary = string(workingCopies.getaprop(#svnDiffBinary)) 
    3005    
    3006    
    3007   if baFileExists(svnBinary) <> 1 then svnBinary = "" 
    3008    
    3009    
    3010   if length(svnBinary) < 1 then 
    3011      
    3012     alert "There is not yet an application specified to handle file diffs. Please select the applivcation you want to use, e.g. TortoiseMerge in your Tortoise folder, if you are using Tortoise." 
    3013     svnBinary = mGetFilePathFromUser(me) 
    3014     if length(svnBinary) < 1 then return "" 
    3015      
    3016   end if 
    3017    
    3018   if baFileExists(svnBinary) <> 1 then 
    3019     alert "The path to the svn diff binary seems to have changed. Please try again in order to search the path." 
    3020     svnBinary = "" 
    3021   end if 
    3022    
    3023    
    3024    
    3025   workingCopies.setaprop(#svnDiffBinary, svnBinary) 
    3026    
    3027   if savePrefs = 1 then setPref("svn_workingCopies_paths.txt", string(workingCopies)) 
    3028    
    3029   return svnBinary 
    3030    
    3031 end 
    3032  
    3033 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    3034  
    3035 on mGetWorkingCopyPath me, movieIdentifier, chooseNewPath, workingCopies, selectMsg 
    3036    
    3037   movieIdentifier = string(movieIdentifier) 
    3038   if length(movieIdentifier) < 1 then 
    3039     movieIdentifier = the moviepath & the moviename 
    3040   end if 
    3041    
    3042   savePrefs = 0 
    3043   if ilk(workingCopies) <> #proplist then 
    3044     workingCopies = value(getPref("svn_workingCopies_paths.txt")) 
    3045     if ilk(workingCopies) <> #proplist then workingCopies = [:] 
    3046     savePrefs = 1 
    3047   end if 
    3048    
    30493004  workingFolder = string(workingCopies.getaprop(movieIdentifier)) 
    30503005   
Note: See TracChangeset for help on using the changeset viewer.