~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/treebuilder.py

  • Committer: John Arbash Meinel
  • Date: 2007-12-21 15:05:25 UTC
  • mto: This revision was merged to the branch mainline in revision 3141.
  • Revision ID: john@arbash-meinel.com-20071221150525-sv1c6goq0634nczi
Fix bug #175886: version_info deprecated functions should be tested to still work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
            self._tree.add('', 'root-id', 'directory')
46
46
            self._root_done = True
47
47
        for name in recipe:
 
48
            assert isinstance(name, basestring)
48
49
            if name[-1] == '/':
49
50
                self._tree.mkdir(name[:-1])
50
51
            else: