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

  • Committer: John Arbash Meinel
  • Date: 2006-05-02 20:46:11 UTC
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: john@arbash-meinel.com-20060502204611-02caa5c20fb84ef8
Moved url functions into bzrlib.urlutils

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
                            relpath,
88
88
                            rename,
89
89
                            supports_executable,
90
 
                            local_path_to_url,
91
90
                            )
92
91
from bzrlib.progress import DummyProgress, ProgressPhase
93
92
from bzrlib.revision import NULL_REVISION
99
98
from bzrlib.trace import mutter, note
100
99
from bzrlib.transport import get_transport
101
100
from bzrlib.transport.local import LocalTransport
 
101
import bzrlib.urlutils as urlutils
102
102
import bzrlib.ui
103
103
import bzrlib.xml5
104
104
 
320
320
        on disk will not be a control file for this tree.
321
321
        """
322
322
        try:
323
 
            url = local_path_to_url(self.abspath(filename))
 
323
            url = urlutils.local_path_to_url(self.abspath(filename))
324
324
            self.bzrdir.transport.relpath(url)
325
325
            return True
326
326
        except errors.PathNotChild: