eric6/Plugins/VcsPlugins/vcsSubversion/subversion.py

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