/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Martin Pool
  • Date: 2009-08-20 05:02:45 UTC
  • mfrom: (4615 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4632.
  • Revision ID: mbp@sourcefrog.net-20090820050245-o7cw6nxrzh1eah8h
News for apport feature

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
from bzrlib.trace import (
78
78
    mutter,
79
79
    note,
 
80
    warning,
80
81
    )
81
82
 
82
83
from bzrlib import (
1384
1385
        # that can do wonky stuff here, and that only
1385
1386
        # happens for creating checkouts, which cannot be
1386
1387
        # done on this format anyway. So - acceptable wart.
 
1388
        if hardlink:
 
1389
            warning("can't support hardlinked working trees in %r"
 
1390
                % (self,))
1387
1391
        try:
1388
1392
            result = self.open_workingtree(recommend_upgrade=False)
1389
1393
        except errors.NoSuchFile:
1630
1634
 
1631
1635
    def get_branch_transport(self, branch_format):
1632
1636
        """See BzrDir.get_branch_transport()."""
 
1637
        # XXX: this shouldn't implicitly create the directory if it's just
 
1638
        # promising to get a transport -- mbp 20090727
1633
1639
        if branch_format is None:
1634
1640
            return self.transport.clone('branch')
1635
1641
        try:
3033
3039
                      new is _mod_branch.BzrBranchFormat8):
3034
3040
                    branch_converter = _mod_branch.Converter7to8()
3035
3041
                else:
3036
 
                    raise errors.BadConversionTarget("No converter", new)
 
3042
                    raise errors.BadConversionTarget("No converter", new,
 
3043
                        branch._format)
3037
3044
                branch_converter.convert(branch)
3038
3045
                branch = self.bzrdir.open_branch()
3039
3046
                old = branch._format.__class__