Rev 417: Minor code cleanup. in http://bazaar.launchpad.net/~jameinel/loggerhead/history_db
John Arbash Meinel
john at arbash-meinel.com
Fri Apr 23 21:41:08 BST 2010
At http://bazaar.launchpad.net/~jameinel/loggerhead/history_db
------------------------------------------------------------
revno: 417
revision-id: john at arbash-meinel.com-20100423204039-15bzg3iwci3bmr7p
parent: john at arbash-meinel.com-20100414201256-aa8ey6e3xlmygu4e
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: history_db
timestamp: Fri 2010-04-23 15:40:39 -0500
message:
Minor code cleanup.
-------------- next part --------------
=== modified file 'loggerhead/history.py'
--- a/loggerhead/history.py 2010-04-14 20:12:56 +0000
+++ b/loggerhead/history.py 2010-04-23 20:40:39 +0000
@@ -1,5 +1,4 @@
-#
-# Copyright (C) 2008, 2009 Canonical Ltd.
+# Copyright (C) 2006-2010 Canonical Ltd.
# (Authored by Martin Albisetti <argentina at gmail.com>)
# Copyright (C) 2006 Robey Pointer <robey at lag.net>
# Copyright (C) 2006 Goffredo Baroncelli <kreijack at inwind.it>
@@ -109,6 +108,7 @@
def __len__(self):
return len(self.revid_list)
+
class FileChangeReporter(object):
def __init__(self, old_inv, new_inv):
@@ -193,6 +193,7 @@
"""
self._cache[key] = (revid, data)
+
# Used to store locks that prevent multiple threads from building a
# revision graph for the same branch at the same time, because that can
# cause severe performance issues that are so bad that the system seems
More information about the bazaar-commits
mailing list