~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_bzrdir/test_bzrdir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-10-05 20:39:07 UTC
  • mfrom: (5042.1.3 524627-createworkingtree)
  • Revision ID: pqm@pqm.ubuntu.com-20101005203907-tc90rcruoountj6x
(gz) Fix signature of RemoteBzrDir.create_workingtree (Neil
 Martinsen-Burrell) (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
        TestSkipped.  Returns the newly created working tree.
170
170
        """
171
171
        try:
172
 
            return a_bzrdir.create_workingtree()
 
172
            # This passes in many named options to make sure they're
 
173
            # understood by subclasses: see
 
174
            # <https://bugs.launchpad.net/bzr/+bug/524627>.
 
175
            return a_bzrdir.create_workingtree(
 
176
                revision_id=None,
 
177
                from_branch=None,
 
178
                accelerator_tree=None,
 
179
                hardlink=False)
173
180
        except errors.NotLocalUrl:
174
181
            raise TestSkipped("cannot make working tree with transport %r"
175
182
                              % a_bzrdir.transport)