Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

cachethg: print ticks with %g

Changeset 68f4067cd1b8

Parent fc3985a1726b

by Simon Heimberg

Changes to one file · Browse files at 68f4067cd1b8 Showing diff from parent fc3985a1726b Diff from another changeset...

 
92
93
94
95
 
96
97
98
 
123
124
125
126
 
127
128
129
 
92
93
94
 
95
96
97
98
 
123
124
125
 
126
127
128
129
@@ -92,7 +92,7 @@
  tc1 = GetTickCount()   if not repo or repo.root == cache_root:   repo = hg.repository(ui.ui(), path=root) - print "hg.repository() took %d ticks" % (GetTickCount() - tc1) + print "hg.repository() took %g ticks" % (GetTickCount() - tc1)   # check if to display overlay icons in this repo   overlayopt = repo.ui.config('tortoisehg', 'overlayicons', ' ').lower()   print "%s: repo overlayicons = " % path, overlayopt @@ -123,7 +123,7 @@
  print "treat as unknown : %s" % path   return UNKNOWN   - print "status() took %d ticks" % (GetTickCount() - tc1) + print "status() took %g ticks" % (GetTickCount() - tc1)   modified, added, removed, deleted, unknown, ignored, clean = repostate   # cached file info   tc = GetTickCount()