##// END OF EJS Templates
deltafind: issue debug information when we fast-path rivial case too...
marmoute -
r51548:485c9410 stable
parent child Browse files
Show More
@@ -1302,7 +1302,20 b' class deltacomputer:'
1302 # not calling candelta since only one revision needs test, also to
1302 # not calling candelta since only one revision needs test, also to
1303 # avoid overhead fetching flags again.
1303 # avoid overhead fetching flags again.
1304 if not revinfo.textlen or revinfo.flags & REVIDX_RAWTEXT_CHANGING_FLAGS:
1304 if not revinfo.textlen or revinfo.flags & REVIDX_RAWTEXT_CHANGING_FLAGS:
1305 return self._fullsnapshotinfo(fh, revinfo, target_rev)
1305 deltainfo = self._fullsnapshotinfo(fh, revinfo, target_rev)
1306 if gather_debug:
1307 end = util.timer()
1308 dbg['duration'] = end - start
1309 dbg[
1310 'delta-base'
1311 ] = deltainfo.base # pytype: disable=attribute-error
1312 dbg['search_round_count'] = 0
1313 dbg['using-cached-base'] = True
1314 dbg['delta_try_count'] = 0
1315 dbg['type'] = b"full"
1316 dbg['snapshot-depth'] = 0
1317 self._dbg_process_data(dbg)
1318 return deltainfo
1306
1319
1307 if excluded_bases is None:
1320 if excluded_bases is None:
1308 excluded_bases = set()
1321 excluded_bases = set()
General Comments 0
You need to be logged in to leave comments. Login now