# # # patch "dumb.py" # from [b55ab29b45854fc6e77394f0df086ec6b63d15de] # to [c7b1ac6817c72dc3a0f1c7c7df06abb7ccee7e1e] # ============================================================ --- dumb.py b55ab29b45854fc6e77394f0df086ec6b63d15de +++ dumb.py c7b1ac6817c72dc3a0f1c7c7df06abb7ccee7e1e @@ -127,7 +127,7 @@ print "Pushing changes from %s to %s" % (local_url, target_url) local_md = MerkleDir(readable_fs_for_url(local_url)) target_md = MerkleDir(writeable_fs_for_url(target_url)) - c = CounterCallback() + c = Dumbtone.CounterCallback() local_md.push(target_md, c) print "Pushed %s packets to %s" % (c.added, target_url) @@ -150,7 +150,7 @@ other_md = MerkleDir(writeable_fs_for_url(other_url)) feeder = self.monotone.feeder(self.verbosity) pull_fc = FeederCallback(feeder) - push_c = CounterCallback() + push_c = Dumbtone.CounterCallback() local_md.sync(other_md, pull_fc, push_c) feeder.close() print "Pulled and imported %s packets from %s" % (pull_fc.added, other_url)