[MERGE] Fix non-recursive ls with path argument (was: Re: [MERGE] make ls non-recursive by default)

Jelmer Vernooij jelmer at vernstok.nl
Wed Apr 8 19:03:01 BST 2009


Ian Clatworthy wrote:
> Vote 1 for progressive disclosure.
> 
> The main issue here is that I've completely removed
> the --non-recursive option as explained in the NEWS
> item. This is a rarely used command so I feel that
> clearing flagging this as a compatibility break in NEWS
> is good enough. The alternative is to keep the option
> and somehow hide/deprecate it? I'm happy to take advice
> on this.

This change seems to've exposed a bug in "bzr ls" when it gets a path
argument and non-recursive mode is enabled.

"bzr ls <arg>" is broken in bzr. It will just not print anything.
"bzr ls" in the same directory works fine

This is a regression in bzr.dev, it's not in bzr 1.14. It's fixed by the
attached patch.

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: non-recursive-ls-arg.diff
Type: text/x-diff
Size: 3958 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090408/153698b2/attachment.bin 


More information about the bazaar mailing list