/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/transport/memory.py

  • Committer: Martin Pool
  • Date: 2007-11-22 09:49:39 UTC
  • mto: This revision was merged to the branch mainline in revision 3017.
  • Revision ID: mbp@sourcefrog.net-20071122094939-7exa28yk7u0d40ch
Followon from MemoryTransport._abspath fix: add test_rename_across_subdirs, and fix error construction

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
            if i == '..':
273
273
                if not r:
274
274
                    raise ValueError("illegal relpath %r under %r"
275
 
                        % relpath, self._cwd)
 
275
                        % (relpath, self._cwd))
276
276
                r = r[:-1]
277
277
            elif i == '.' or i == '':
278
278
                pass