~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bundle.py

(jelmer) Switch the commit code over to use config stacks. (Bazaar
 Developers)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
from cStringIO import StringIO
18
18
import os
19
 
import socket
20
19
import SocketServer
21
20
import sys
22
 
import threading
23
21
 
24
22
from bzrlib import (
25
23
    bzrdir,
1421
1419
            # monkey patch gpg signing mechanism
1422
1420
            bzrlib.gpg.GPGStrategy = bzrlib.gpg.LoopbackGPGStrategy
1423
1421
            new_config = test_commit.MustSignConfig(branch)
1424
 
            commit.Commit(config=new_config).commit(message="base",
 
1422
            commit.Commit(config_stack=new_config).commit(message="base",
1425
1423
                                                    allow_pointless=True,
1426
1424
                                                    rev_id='B',
1427
1425
                                                    working_tree=tree_a)