[BUG] MemoryTransport.list_dir('.') broken

Martin Pool mbp at canonical.com
Tue Nov 7 03:44:51 GMT 2006


On  3 Nov 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
> I was trying to write some tests which use MemoryTransport as the
> back-end. And one thing that I was testing was that there were no extra
> files generated as part of the process, so I was comparing
> transport.list_dir('.') against a known list of files.
> 
> It turns out that if you are in the root directory of the
> MemoryTransport, it strips off an extra character from every filename.

+1


-- 
Martin




More information about the bazaar mailing list