/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/lockable_files.py

  • Committer: Vincent Ladeuil
  • Date: 2010-05-06 20:05:01 UTC
  • mto: (5355.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5356.
  • Revision ID: v.ladeuil+lp@free.fr-20100506200501-ho03kicl06m5lbgg
Some cosmetic tweaks and special char escaping.

* bzrlib/tests/doc_generate/builders/test_texinfo.py:
(TestTextGeneration.test_special_chars): Test all the used special
chars.

* bzrlib/doc_generate/writers/texinfo.py:
(TexinfoTranslator.depart_Text): texinfo requires some special
chars to be protected.
(TexinfoTranslator.depart_table): Leave an empty line after a table.

* bzrlib/doc_generate/builders/texinfo.py:
(TexinfoBuilder.get_target_uri): We really want the finally
produced document.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
 
17
from cStringIO import StringIO
 
18
 
17
19
from bzrlib.lazy_import import lazy_import
18
20
lazy_import(globals(), """
19
21
import codecs
32
34
from bzrlib.decorators import (
33
35
    only_raises,
34
36
    )
 
37
from bzrlib.symbol_versioning import (
 
38
    deprecated_in,
 
39
    deprecated_method,
 
40
    )
35
41
 
36
42
 
37
43
# XXX: The tracking here of lock counts and whether the lock is held is