Work around "bzr ls --non-recursive PATH : no list" bug in old bzrlib.
authorW. Trevor King <wking@drexel.edu>
Thu, 28 Jan 2010 18:06:06 +0000 (13:06 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 28 Jan 2010 18:06:06 +0000 (13:06 -0500)
commit7e120421446f88f9bde0674f57fb1667c5f70ebd
tree0a08c4a643585300a631bd63c1c8fb457c2bf0ff
parent9ef5ba29e9fc2804784b7f33dde80000a16f43cb
Work around "bzr ls --non-recursive PATH : no list" bug in old bzrlib.

See: https://bugs.launchpad.net/bzr/+bug/158690

Bug affected versions:
  0.90.0 (reported)
  1.3.1  (my test suite hit it)
Doesn't affect versions:
  2.0+   (non_recursive -> recursive)
But I haven't isolated the source more specifically.

Working around it for everything < 2.0 should be safe, but the cutoff
could be fine-tuned if someone wants to dig through the bzr.dev
history...
libbe/storage/vcs/bzr.py