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) |
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 |