Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.3, 2.0, and 2.0.1

stable visdiff: use the rev string instead of the number in the diff label

Changeset 752584355939

Parent 792a5ce47bf1

by Daniel Atallah

Changes to one file · Browse files at 752584355939 Showing diff from parent 792a5ce47bf1 Diff from another changeset...

 
55
56
57
58
 
59
60
61
62
63
64
 
65
66
67
 
79
80
81
82
 
83
84
85
 
55
56
57
 
58
59
60
61
62
63
 
64
65
66
67
 
79
80
81
 
82
83
84
85
@@ -55,13 +55,13 @@
  # Always make a copy of ctx1a   files1a = sources | mod_a | rem_a | ((mod_b | add_b) - add_a)   dir1a, fns_mtime1a = snapshot(repo, files1a, ctx1a) - label1a = '@%d' % ctx1a.rev() + label1a = '@%d:%s' % (ctx1a.rev(), ctx1a)     # Make a copy of ctx1b if relevant   if ctx1b:   files1b = sources | mod_b | rem_b | ((mod_a | add_a) - add_b)   dir1b, fns_mtime1b = snapshot(repo, files1b, ctx1b) - label1b = '@%d' % ctx1b.rev() + label1b = '@%d:%s' % (ctx1b.rev(), ctx1b)   else:   dir1b = None   fns_mtime1b = [] @@ -79,7 +79,7 @@
  label2 = ''   else:   dir2, fns_mtime2 = snapshot(repo, files2, ctx2) - label2 = '@%d' % ctx2.rev() + label2 = '@%d:%s' % (ctx2.rev(), ctx2)     dirs = [dir1a, dir1b, dir2]   labels = [label1a, label1b, label2]