~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_smart_add.py

  • Committer: Patch Queue Manager
  • Date: 2015-12-17 18:39:00 UTC
  • mfrom: (6606.1.2 fix-float)
  • Revision ID: pqm@pqm.ubuntu.com-20151217183900-0719du2uv1kwu3lc
(vila) Inline testtools private method to fix an issue in xenial (the
 private implementation has changed in an backward incompatible way).
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
 
136
136
        self.build_tree(build_paths)
137
137
        wt = self.make_branch_and_tree('.')
 
138
        if wt.user_url != wt.branch.user_url:
 
139
            # Lightweight checkout, make sure we have a repo location.
 
140
            wt.branch.bzrdir.root_transport.mkdir('original')
138
141
        child_tree = self.make_branch_and_tree('original/child')
139
142
        wt.smart_add((".",))
140
143
        for path in paths: