eric6/Plugins/VcsPlugins/vcsSubversion/subversion.py

branch
maintenance
changeset 8043
0acf98cd089a
parent 7924
8a96736d465e
parent 7960
e8fc383322f7
child 8176
31965986ecd1
equal deleted inserted replaced
7991:866adc8c315b 8043:0acf98cd089a
187 187
188 def vcsInit(self, vcsDir, noDialog=False): 188 def vcsInit(self, vcsDir, noDialog=False):
189 """ 189 """
190 Public method used to initialize the subversion repository. 190 Public method used to initialize the subversion repository.
191 191
192 The subversion repository has to be initialized from outside eric6 192 The subversion repository has to be initialized from outside eric
193 because the respective command always works locally. Therefore we 193 because the respective command always works locally. Therefore we
194 always return TRUE without doing anything. 194 always return TRUE without doing anything.
195 195
196 @param vcsDir name of the VCS directory (string) 196 @param vcsDir name of the VCS directory (string)
197 @param noDialog flag indicating quiet operations (boolean) 197 @param noDialog flag indicating quiet operations (boolean)
1960 """ 1960 """
1961 Private method to get a file for a specific revision from the 1961 Private method to get a file for a specific revision from the
1962 repository. 1962 repository.
1963 1963
1964 @param name file name to get from the repository (string) 1964 @param name file name to get from the repository (string)
1965 @keyparam rev revision to retrieve (integer or string) 1965 @param rev revision to retrieve (integer or string)
1966 @return contents of the file (string) and an error message (string) 1966 @return contents of the file (string) and an error message (string)
1967 """ 1967 """
1968 args = [] 1968 args = []
1969 args.append("cat") 1969 args.append("cat")
1970 if rev: 1970 if rev:
2003 """ 2003 """
2004 Public method used to view the difference of a file to the Mercurial 2004 Public method used to view the difference of a file to the Mercurial
2005 repository side-by-side. 2005 repository side-by-side.
2006 2006
2007 @param name file name to be diffed (string) 2007 @param name file name to be diffed (string)
2008 @keyparam extended flag indicating the extended variant (boolean) 2008 @param extended flag indicating the extended variant (boolean)
2009 @keyparam revisions tuple of two revisions (tuple of strings) 2009 @param revisions tuple of two revisions (tuple of strings)
2010 @exception ValueError raised to indicate an illegal name parameter type 2010 @exception ValueError raised to indicate an illegal name parameter type
2011 """ 2011 """
2012 if isinstance(name, list): 2012 if isinstance(name, list):
2013 raise ValueError("Wrong parameter type") 2013 raise ValueError("Wrong parameter type")
2014 2014

eric ide

mercurial