##// END OF EJS Templates
copies: add time information to the debug information
Boris Feld -
r40094:cf01616f default
parent child Browse files
Show More
@@ -204,11 +204,16 b' def _committedforwardcopies(a, b, match)'
204 fctx = b[f]
204 fctx = b[f]
205 fctx._ancestrycontext = ancestrycontext
205 fctx._ancestrycontext = ancestrycontext
206
206
207 if debug:
208 start = util.timer()
207 ofctx = _tracefile(fctx, am, limit)
209 ofctx = _tracefile(fctx, am, limit)
208 if ofctx:
210 if ofctx:
209 if debug:
211 if debug:
210 dbg('debug.copies: rename of: %s\n' % ofctx._path)
212 dbg('debug.copies: rename of: %s\n' % ofctx._path)
211 cm[f] = ofctx.path()
213 cm[f] = ofctx.path()
214 if debug:
215 dbg('debug.copies: time: %s seconds\n'
216 % (util.timer() - start))
212 return cm
217 return cm
213
218
214 def _forwardcopies(a, b, match=None):
219 def _forwardcopies(a, b, match=None):
@@ -1676,6 +1676,7 b' Check debug output for copy tracing'
1676 debug.copies: missing file to search: 1
1676 debug.copies: missing file to search: 1
1677 debug.copies: tracing file: renamed
1677 debug.copies: tracing file: renamed
1678 debug.copies: rename of: f
1678 debug.copies: rename of: f
1679 debug.copies: time: * seconds (glob)
1679 A renamed
1680 A renamed
1680 f
1681 f
1681 R f
1682 R f
General Comments 0
You need to be logged in to leave comments. Login now