[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] [patch] add ticker for revisions written to netsync; ch
From: |
Timothy Brownawell |
Subject: |
[Monotone-devel] [patch] add ticker for revisions written to netsync; change tick_write_count format |
Date: |
Sat, 7 May 2005 23:37:10 -0500 |
Pull can take a long time to sanity-check revisions (especially on
initial pull to a fresh db), and doesn't provide any feedback during
this. This patch lets packet_consumer and children run a callback when
a revision is written out. Netsync then uses this to add a ticker for
revisions written. Is there a better way to do this?
Since this makes the "count" ticker too long for an 80-char terminal,
it also changes the way tick_write_count displays to be like
monotone: certs | keys
monotone: 8456 | 21
monotone: bytes in | bytes out | certs in | revs checked | revs in
monotone: 25.6M | 731.5k | 8456 | 2073 | 2784
.
Comments, suggestions? Is this (ticker) something we want to change?
Tim
written_revision_ticker.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-devel] [patch] add ticker for revisions written to netsync; change tick_write_count format,
Timothy Brownawell <=