~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Martin Pool
  • Date: 2010-04-21 11:27:04 UTC
  • mto: This revision was merged to the branch mainline in revision 5189.
  • Revision ID: mbp@canonical.com-20100421112704-zijso22b6pdevrxy
Simplify various code to use user_url

Show diffs side-by-side

added added

removed removed

Lines of Context:
2181
2181
            self._real_branch = None
2182
2182
        # Fill out expected attributes of branch for bzrlib API users.
2183
2183
        self._clear_cached_state()
2184
 
        self.base = self.bzrdir.root_transport.base
 
2184
        # TODO: deprecate self.base in favor of user_url
 
2185
        self.base = self.bzrdir.user_url
2185
2186
        self._name = name
2186
2187
        self._control_files = None
2187
2188
        self._lock_mode = None