/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 workingtree.py

  • Committer: Jelmer Vernooij
  • Date: 2010-02-11 23:46:31 UTC
  • mto: (0.200.718 trunk)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@samba.org-20100211234631-8si4dpw8ipzas3po
Simplify call to abspath, without involving private variables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    osutils,
37
37
    transport,
38
38
    tree,
39
 
    urlutils,
40
39
    workingtree,
41
40
    )
42
41
from bzrlib.decorators import (
67
66
        self._branch = branch
68
67
        self._transport = bzrdir.transport
69
68
 
70
 
        self.controldir = urlutils.join(self.repository._git._controldir, 'bzr')
 
69
        self.controldir = self.bzrdir.transport.local_abspath('bzr')
71
70
 
72
71
        try:
73
72
            os.makedirs(self.controldir)