~mnordhoff/loggerhead/cheezum

« back to all changes in this revision

Viewing changes to loggerhead/apps/branch.py

  • Committer: Guillermo Gonzalez
  • Date: 2008-09-10 00:13:18 UTC
  • mfrom: (164.18.29 trunk)
  • mto: (164.35.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 242.
  • Revision ID: guillo.gonzo@gmail.com-20080910001318-78w16x9zl9p7f1k3
 * merge with trunk 

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
class BranchWSGIApp(object):
27
27
 
28
28
    def __init__(self, branch, friendly_name=None, config={},
29
 
                 graph_cache=None, branch_link=None):
 
29
                 graph_cache=None, branch_link=None, is_root=False):
30
30
        self.branch = branch
31
31
        self._config = config
32
32
        self.friendly_name = friendly_name
35
35
        if graph_cache is None:
36
36
            graph_cache = bzrlib.lru_cache.LRUCache()
37
37
        self.graph_cache = graph_cache
 
38
        self.is_root = is_root
38
39
 
39
40
    def get_history(self):
40
41
        _history = History(self.branch, self.graph_cache)