Rev 3516: (robertc) More tracing for trace+ transport. (Robert Collins) in http://people.ubuntu.com/~robertc/baz2.0/integration

Robert Collins robertc at robertcollins.net
Fri Jul 4 07:05:16 BST 2008


At http://people.ubuntu.com/~robertc/baz2.0/integration

------------------------------------------------------------
revno: 3516
revision-id: robertc at robertcollins.net-20080704060510-9213mmskugmxfe4n
parent: pqm at pqm.ubuntu.com-20080701042123-zcmqzb7o6znwjx34
committer: Robert Collins <robertc at robertcollins.net>
branch nick: integration
timestamp: Fri 2008-07-04 16:05:10 +1000
message:
  (robertc) More tracing for trace+ transport. (Robert Collins)
modified:
  bzrlib/transport/trace.py      trace.py-20070828055009-7kt0bbc4t4b92apz-1
=== modified file 'bzrlib/transport/trace.py'
--- a/bzrlib/transport/trace.py	2007-10-04 04:59:43 +0000
+++ b/bzrlib/transport/trace.py	2008-07-04 06:05:10 +0000
@@ -62,6 +62,7 @@
 
     def delete(self, relpath):
         """See Transport.delete()."""
+        self._activity.append(('delete', relpath))
         return self._decorated.delete(relpath)
 
     def delete_tree(self, relpath):
@@ -131,6 +132,7 @@
         return self._decorated.recommended_page_size()
 
     def rename(self, rel_from, rel_to):
+        self._activity.append(('rename', rel_from, rel_to))
         return self._decorated.rename(rel_from, rel_to)
     
     def rmdir(self, relpath):




More information about the bazaar-commits mailing list