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 |