eric6/Plugins/VcsPlugins/vcsPySvn/subversion.py

changeset 7900
72b88fb20261
parent 7836
2f0d208b8137
child 7923
91e843545d9a
equal deleted inserted replaced
7899:ecf67e07b6e0 7900:72b88fb20261
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