~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_fetch.py

  • Committer: Martin Pool
  • Date: 2011-03-28 01:28:09 UTC
  • mto: (5425.4.19 220464-stale-locks)
  • mto: This revision was merged to the branch mainline in revision 5970.
  • Revision ID: mbp@canonical.com-20110328012809-frw003r09tcrxkiz
Represent lock held info as an object, not just a dict

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2011 Canonical Ltd
 
1
# Copyright (C) 2005, 2007, 2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
 
17
import os
 
18
import re
 
19
import sys
 
20
 
 
21
import bzrlib
17
22
from bzrlib import (
18
23
    bzrdir,
19
24
    errors,
20
25
    osutils,
 
26
    merge,
 
27
    repository,
21
28
    versionedfile,
22
29
    )
23
30
from bzrlib.branch import Branch
 
31
from bzrlib.bzrdir import BzrDir
24
32
from bzrlib.repofmt import knitrepo
25
33
from bzrlib.tests import TestCaseWithTransport
26
34
from bzrlib.tests.test_revision import make_branches
 
35
from bzrlib.trace import mutter
27
36
from bzrlib.upgrade import Convert
28
37
from bzrlib.workingtree import WorkingTree
29
38