--- a/Plugins/VcsPlugins/vcsMercurial/hg.py Sat Feb 15 18:21:59 2014 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/hg.py Sat Feb 15 19:29:20 2014 +0100 @@ -1775,7 +1775,8 @@ else: output, error = self.__client.runcommand(args) - return output, error + # return file contents with 'universal newlines' + return output.replace('\r\n', '\n').replace('\r', '\n'), error def hgSbsDiff(self, name, extended=False, revisions=None): """