Merge lp://staging/~thumper/loggerhead/branch_locations into lp://staging/loggerhead
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Merge reported by: | Martin Albisetti |
Merged at revision: | 194 |
Proposed branch: | lp://staging/~thumper/loggerhead/branch_locations |
Merge into: | lp://staging/loggerhead |
To merge this branch: | bzr merge lp://staging/~thumper/loggerhead/branch_locations |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hudson-Doyle | Pending | ||
Review via email: mp+632@code.staging.launchpad.net |
To post a comment you must log in.
=== modified file 'loggerhead/ apps/branch. py' apps/branch. py 2008-07-17 23:52:30 +0000 apps/branch. py 2008-08-04 21:35:47 +0000
--- loggerhead/
+++ loggerhead/
@@ -23,10 +23,12 @@
class BranchWSGIApp( object) :
- def __init__(self, branch, friendly_name=None, config={}, graph_cache=None):
self. branch = branch
self. _config = config
self. friendly_ name = friendly_name getLogger( 'loggerhead. %s' % (friendly_name,))
graph_ cache = bzrlib. lru_cache. LRUCache( )
+ def __init__(self, branch, friendly_name=None, config={},
+ graph_cache=None, branch_link=None):
+ self.branch_link = branch_link
self.log = logging.
if graph_cache is None:
=== modified file 'loggerhead/ templates/ annotate. pt' templates/ annotate. pt 2008-07-28 21:40:58 +0000 templates/ annotate. pt 2008-08-04 21:35:47 +0000
--- loggerhead/
+++ loggerhead/
@@ -15,8 +15,16 @@
<body>
<h1 metal:fill- slot="heading" > "branch/ friendly_ name">< /tal:block> "path"> </span> (revision <tal:revno content= "change/ revno"> </tal:revno> )</span> "branch/ branch_ link"> "href branch/branch_link" "branch/ friendly_ name"> branch_ link"> "branch/ friendly_ name" /> "path"> </span> (revision <tal:revno content= "change/ revno"> </tal:revno> )</span>
- <tal:block content=
- <span>: <span tal:content=
+ <tal:has-link condition=
+ <a tal:attributes=
+ tal:content=
+ nice/branch/name
+ </a>
+ </tal:has-link>
+ <tal:no-link condition="not: branch/
+ <tal:branch-name replace=
+ </tal:no-link>
+ <span>: <span tal:content=
</h1>
<div metal:fill- slot="content" >
=== modified file 'loggerhead/ templates/ changelog. pt' templates/ changelog. pt 2008-07-28 21:40:58 +0000 templates/ changelog. pt 2008-08-04 21:35:47 +0000 slot="heading" > "branch/ friendly_ name">< /tal:block> : changes "branch/ branch_ link"> "href branch/branch_link" "branch/ friendly_ name"> branch_ link"> "branch/ friendly_ name" />
<tal: block condition= "filter_ file_id" >to <span tal:content= "python: history. get_path( revid, filter_file_id)" /></tal:block>
<tal: block condition= "start_ revid"> from revision <tal:block content= "python: history. get_revno( start_revid) " /></tal:block>
<tal: block condition= "query" >matching <tal:block content="query" /></tal:block>
--- loggerhead/
+++ loggerhead/
@@ -14,7 +14,16 @@
<body>
<tal:block metal:fill-
<h1>
- <tal:block content=
+ <tal:has-link condition=
+ <a tal:attributes=
+ tal:content=
+ nice/branch/name
+ </a>
+ </tal:has-link>
+ <tal:no-link condition="not: branch/
+ <tal:branch-name replace=
+ </tal:no-link>
+ : changes
=== modified file 'loggerhead/ templates/ inventory. pt' templates/ inventory. pt 2008-07-28 21:40:58 +0000 templates/ inventory. pt 2008-08-04 21:35:47 +0000
--- loggerhead/
+++ loggerhead/
@@ -11,8 +11,17 @@
<body>
<h1 metal:fill- slot="heading" > "branch/ friendly_ name" />: viewing
- <tal:block content=
- <span><tal:block content="path" /></span> for revision <span><ta...