~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/_templates/layout.html

  • Committer: Vincent Ladeuil
  • Date: 2009-12-14 15:51:36 UTC
  • mto: (4894.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4895.
  • Revision ID: v.ladeuil+lp@free.fr-20091214155136-rf4nkqvxda9oiw4u
Cleanup tests and tweak the text displayed.

* bzrlib/tests/blackbox/test_update.py:
Fix imports and replace the assertContainsRe with assertEqualDiff
to make the test clearer, more robust and easier to debug.

* bzrlib/tests/commands/test_update.py: 
Fix imports.

* bzrlib/tests/blackbox/test_filtered_view_ops.py: 
Fix imports and strange accesses to base class methods.
(TestViewTreeOperations.test_view_on_update): Avoid os.chdir()
call, simplify string matching assertions.

* bzrlib/builtins.py:
(cmd_update.run): Fix spurious space, get rid of the final '/' for
the base path, don't add a final period (it's a legal char in a
path and would be annoying for people that like to copy/paste).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "!layout.html" %}
 
2
 
 
3
{% block linktags %}
 
4
{{ super() }}
 
5
<link rel="stylesheet" href="_static/bzr-doc.css" type="text/css" />
 
6
{% endblock %}
 
7
 
 
8
{% block rootrellink %}
 
9
<li><a href="http://bazaar-vcs.org/">
 
10
    <img src="{{ pathto("_static/bzr icon 16.png", 1) }}" /> Home</a>&nbsp;|&nbsp;</li>
 
11
<a href="http://doc.bazaar-vcs.org/en/">Documentation</a>&nbsp;|&nbsp;</li>
 
12
{{ super() }}
 
13
{% endblock %}
 
14
 
 
15
{% block document %}
 
16
 <script type="text/javascript">
 
17
  var gaJsHost = (("https:" == document.location.protocol) ?  "https://ssl." : "http://www.");
 
18
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
 
19
  </script>
 
20
  <script type="text/javascript">
 
21
  try{
 
22
  var pageTracker = _gat._getTracker("UA-1018242-1");
 
23
  pageTracker._trackPageview();
 
24
  } catch(err) {}
 
25
  try {
 
26
    /* bazaar team tracker */
 
27
    var pageTracker = _gat._getTracker("UA-11329411-2");
 
28
    pageTracker._trackPageview();
 
29
  } catch(err) {}
 
30
</script>
 
31
{{ super() }}
 
32
{% endblock %}