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