Print old a new locations.
diff --git a/common.py b/common.py
index f1848e8..dd62e01 100755
--- a/common.py
+++ b/common.py
@@ -2447,6 +2447,13 @@
return final_path
time.sleep(1)
+ osrc_path = ''
+ try:
+ with open(final_path+'.src', 'r') as f:
+ osrc_path = f.read().strip()
+ except IOError as e:
+ pass
+
print(f"WARNING: New file found at {final_path}.new")
copyfile(src_path, final_path+'.new')
output = subprocess.getoutput('diff --color=always -u %s %s.new' % (final_path, final_path))
@@ -2455,10 +2462,12 @@
%s
-------------------------------------
- Source: %s
-Existing file: %s
- New file: %s.new
-""" % (output, src_path, final_path, final_path)
+Existing Source: %s
+ Existing file: %s
+
+ New Source: %s
+ New file: %s.new
+""" % (output, osrc_path, final_path, src_path, final_path)
MAPPING_OLD2NEW_CELLNAME = {}