eric6/Plugins/VcsPlugins/vcsPySvn/subversion.py

branch
maintenance
changeset 8043
0acf98cd089a
parent 7924
8a96736d465e
parent 7960
e8fc383322f7
child 8176
31965986ecd1
equal deleted inserted replaced
7991:866adc8c315b 8043:0acf98cd089a
180 180
181 def vcsInit(self, vcsDir, noDialog=False): 181 def vcsInit(self, vcsDir, noDialog=False):
182 """ 182 """
183 Public method used to initialize the subversion repository. 183 Public method used to initialize the subversion repository.
184 184
185 The subversion repository has to be initialized from outside eric6 185 The subversion repository has to be initialized from outside eric
186 because the respective command always works locally. Therefore we 186 because the respective command always works locally. Therefore we
187 always return TRUE without doing anything. 187 always return TRUE without doing anything.
188 188
189 @param vcsDir name of the VCS directory (string) 189 @param vcsDir name of the VCS directory (string)
190 @param noDialog flag indicating quiet operations (boolean) 190 @param noDialog flag indicating quiet operations (boolean)
2108 """ 2108 """
2109 Private method to get a file for a specific revision from the 2109 Private method to get a file for a specific revision from the
2110 repository. 2110 repository.
2111 2111
2112 @param name file name to get from the repository (string) 2112 @param name file name to get from the repository (string)
2113 @keyparam rev revision to retrieve (integer or string) 2113 @param rev revision to retrieve (integer or string)
2114 @return contents of the file (string) and an error message (string) 2114 @return contents of the file (string) and an error message (string)
2115 """ 2115 """
2116 output = "" 2116 output = ""
2117 error = "" 2117 error = ""
2118 2118
2151 """ 2151 """
2152 Public method used to view the difference of a file to the Mercurial 2152 Public method used to view the difference of a file to the Mercurial
2153 repository side-by-side. 2153 repository side-by-side.
2154 2154
2155 @param name file name to be diffed (string) 2155 @param name file name to be diffed (string)
2156 @keyparam extended flag indicating the extended variant (boolean) 2156 @param extended flag indicating the extended variant (boolean)
2157 @keyparam revisions tuple of two revisions (tuple of strings) 2157 @param revisions tuple of two revisions (tuple of strings)
2158 @exception ValueError raised to indicate an invalid name parameter type 2158 @exception ValueError raised to indicate an invalid name parameter type
2159 """ 2159 """
2160 if isinstance(name, list): 2160 if isinstance(name, list):
2161 raise ValueError("Wrong parameter type") 2161 raise ValueError("Wrong parameter type")
2162 2162

eric ide

mercurial