~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textinv.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-12-20 16:16:34 UTC
  • mfrom: (3123.5.18 hardlinks)
  • Revision ID: pqm@pqm.ubuntu.com-20071220161634-2kcjb650o21ydko4
Accelerate build_tree using similar workingtrees (abentley)

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
 
38
38
def unescape(s):
39
 
    if s.find(' ') != -1:
40
 
        raise AssertionError()
 
39
    assert s.find(' ') == -1
41
40
    s = (s.replace(r'\x20', ' ')
42
41
         .replace(r'\x09', '\t')
43
42
         .replace(r'\x0a', '\n')