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 |