A little change to the Mercurial side-by-side diff function indicating the work area version of the file.

Sun, 26 Oct 2014 18:45:15 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 26 Oct 2014 18:45:15 +0100
changeset 3883
0326270f6f1e
parent 3882
447640057bef
child 3887
dff6e8f27c4c

A little change to the Mercurial side-by-side diff function indicating the work area version of the file.

Plugins/VcsPlugins/vcsMercurial/hg.py file | annotate | diff | comparison | revisions
diff -r 447640057bef -r 0326270f6f1e Plugins/VcsPlugins/vcsMercurial/hg.py
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py	Sun Oct 26 12:37:45 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/hg.py	Sun Oct 26 18:45:15 2014 +0100
@@ -1873,7 +1873,7 @@
                 f1 = open(name, "r", encoding="utf-8")
                 output2 = f1.read()
                 f1.close()
-                name2 = name
+                name2 = "{0} (Work)".format(name)
             except IOError:
                 E5MessageBox.critical(
                     self.__ui,

eric ide

mercurial