Changeset 148 for trunk/lingosource/castlib1/svn_Utilities.ls
- Timestamp:
- 02/18/08 05:09:49 (4 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib1/svn_Utilities.ls (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib1/svn_Utilities.ls
r146 r148 2985 2985 end 2986 2986 2987 2987 2988 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2988 2989 2989 on mGet SVNDiffBinaryPath me, workingCopies2990 2991 if (mCheckForXtra(me, "budapi") + (mCheckForXtra(me, "Shell") + mCheckForXtra(me, "ff_shell"))) < 2 then2992 alert "You need the shell xtra and the buddyApi xtra in order to proceed"2993 return ""2990 on mGetWorkingCopyPath me, movieIdentifier, chooseNewPath, workingCopies, selectMsg 2991 2992 movieIdentifier = string(movieIdentifier) 2993 if length(movieIdentifier) < 1 then 2994 movieIdentifier = the moviepath & the moviename 2994 2995 end if 2995 2996 … … 3001 3002 end if 3002 3003 3003 3004 svnBinary = string(workingCopies.getaprop(#svnDiffBinary))3005 3006 3007 if baFileExists(svnBinary) <> 1 then svnBinary = ""3008 3009 3010 if length(svnBinary) < 1 then3011 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 if3017 3018 if baFileExists(svnBinary) <> 1 then3019 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 if3022 3023 3024 3025 workingCopies.setaprop(#svnDiffBinary, svnBinary)3026 3027 if savePrefs = 1 then setPref("svn_workingCopies_paths.txt", string(workingCopies))3028 3029 return svnBinary3030 3031 end3032 3033 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx3034 3035 on mGetWorkingCopyPath me, movieIdentifier, chooseNewPath, workingCopies, selectMsg3036 3037 movieIdentifier = string(movieIdentifier)3038 if length(movieIdentifier) < 1 then3039 movieIdentifier = the moviepath & the moviename3040 end if3041 3042 savePrefs = 03043 if ilk(workingCopies) <> #proplist then3044 workingCopies = value(getPref("svn_workingCopies_paths.txt"))3045 if ilk(workingCopies) <> #proplist then workingCopies = [:]3046 savePrefs = 13047 end if3048 3049 3004 workingFolder = string(workingCopies.getaprop(movieIdentifier)) 3050 3005
Note: See TracChangeset
for help on using the changeset viewer.
