Show More
@@ -3216,12 +3216,16 b' def debugrevlog(ui, repo, file_=None, **' | |||||
3216 | ts = ts + rs |
|
3216 | ts = ts + rs | |
3217 | heads -= set(r.parentrevs(rev)) |
|
3217 | heads -= set(r.parentrevs(rev)) | |
3218 | heads.add(rev) |
|
3218 | heads.add(rev) | |
|
3219 | try: | |||
|
3220 | compression = ts / r.end(rev) | |||
|
3221 | except ZeroDivisionError: | |||
|
3222 | compression = 0 | |||
3219 | ui.write("%5d %5d %5d %5d %5d %10d %4d %4d %4d %7d %9d " |
|
3223 | ui.write("%5d %5d %5d %5d %5d %10d %4d %4d %4d %7d %9d " | |
3220 | "%11d %5d %8d\n" % |
|
3224 | "%11d %5d %8d\n" % | |
3221 | (rev, p1, p2, r.start(rev), r.end(rev), |
|
3225 | (rev, p1, p2, r.start(rev), r.end(rev), | |
3222 | r.start(dbase), r.start(cbase), |
|
3226 | r.start(dbase), r.start(cbase), | |
3223 | r.start(p1), r.start(p2), |
|
3227 | r.start(p1), r.start(p2), | |
3224 |
rs, ts, |
|
3228 | rs, ts, compression, len(heads), clen)) | |
3225 | return 0 |
|
3229 | return 0 | |
3226 |
|
3230 | |||
3227 | v = r.version |
|
3231 | v = r.version |
General Comments 0
You need to be logged in to leave comments.
Login now