# # # patch "BUGS" # from [ea68a0fc46a0f75cdfe8a3cf2795fbbf27990bb3] # to [228ddaf39ff7da449120608766bc356b020206f0] # # patch "dumb.py" # from [5dac8e4020f3489b57563ecb96ad2509e9f45901] # to [dfcd7b0c7fa8c8ecc51deec5e714e78ec79574dc] # ============================================================ --- BUGS ea68a0fc46a0f75cdfe8a3cf2795fbbf27990bb3 +++ BUGS 228ddaf39ff7da449120608766bc356b020206f0 @@ -1,5 +1,13 @@ Mini-mantis (tm) ;) Mini-mantis (tm) ;) + 3. Sometimes bad packets are returned by monotone. Examples: + + error: sqlite error: database is locked + + error: sqlite error: library routine called out of sequence + + looks like in sync 'mtn au' and 'mtn read' are racing for db lock. + RESOLVED 2. When monotone asks for db migration script goes into infinite loop. Seen on pre-0.33 database used with mtn 0.33 ============================================================ --- dumb.py 5dac8e4020f3489b57563ecb96ad2509e9f45901 +++ dumb.py dfcd7b0c7fa8c8ecc51deec5e714e78ec79574dc @@ -231,7 +231,7 @@ class Dumbtone: callback = Dumbtone.CounterCallback("pushing packets") memory_md.push(target_md, callback) finally: - callback.close() + callback.finish() print "Pushed %s packets to %s" % (callback.added, target_url) @@ -248,7 +248,7 @@ class Dumbtone: memory_md.pull(source_md, fc) finally: fc.finish() - feeder.close() + feeder.close() print "Pulled and imported %s packets from %s" % (fc.added, source_url) def do_sync(self, other_url, branch_pattern, **kwargs):