~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.py

  • Committer: Aaron Bentley
  • Date: 2008-03-03 16:52:41 UTC
  • mfrom: (3144.3.11 fix-conflict-handling)
  • mto: This revision was merged to the branch mainline in revision 3250.
  • Revision ID: aaron@aaronbentley.com-20080303165241-0k2c7ggs6kr9q6hf
Merge with fix-conflict-handling

Show diffs side-by-side

added added

removed removed

Lines of Context:
261
261
    def _abspath(self, relpath):
262
262
        """Generate an internal absolute path."""
263
263
        relpath = urlutils.unescape(relpath)
264
 
        if relpath == '':
265
 
            return '/'
266
 
        if relpath[0] == '/':
 
264
        if relpath[:1] == '/':
267
265
            return relpath
268
266
        cwd_parts = self._cwd.split('/')
269
267
        rel_parts = relpath.split('/')