Re: [Monotone-devel] [patch]--depth for monotone ls

2005-05-18 Thread Joel Reed
On Wed, May 18, 2005 at 11:59:27AM -0700, Nathaniel Smith wrote: snip > > 2) --depth as param name ok? > > I'm dubious. It's pretty confusing if --depth sometimes refers to the > ancestry graph, and sometimes refers to the filesystem layout. It's > especially bad, since 'log' presumably takes

Re: [Monotone-devel] [patch]--depth for monotone ls

2005-05-18 Thread Nathaniel Smith
On Sun, May 15, 2005 at 10:31:31PM -0400, Joel Reed wrote: > A few questions: > > 1) functionality look ok? Yep. > 2) --depth as param name ok? I'm dubious. It's pretty confusing if --depth sometimes refers to the ancestry graph, and sometimes refers to the filesystem layout. It's especially

Re: [Monotone-devel] [patch]--depth for monotone ls

2005-05-18 Thread Joel Reed
On Tue, May 17, 2005 at 11:09:24PM -0600, Derek Scherger wrote: > Joel Reed wrote: > > (%:~/tmp/root) monotone --db=../mt.db --depth=1 ls known . > > file > > > > (%:~/tmp/root) monotone --db=../mt.db --depth=2 ls known . > > a/file > > file > > > > (%:~/tmp/root) monotone --db=../mt.db --depth=

Re: [Monotone-devel] [patch]--depth for monotone ls

2005-05-18 Thread Derek Scherger
Joel Reed wrote: > (%:~/tmp/root) monotone --db=../mt.db --depth=1 ls known . > file > > (%:~/tmp/root) monotone --db=../mt.db --depth=2 ls known . > a/file > file > > (%:~/tmp/root) monotone --db=../mt.db --depth=3 ls known . > a/b/file > a/file > file I'm not sure if ls known is considered a

Re: [Monotone-devel] [patch]--depth for monotone ls

2005-05-18 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Sun, 15 May 2005 22:31:31 -0400, Joel Reed <[EMAIL PROTECTED]> said: joelwreed> (%:~/tmp/root) monotone --db=../mt.db --depth=1 ls known . joelwreed> file joelwreed> joelwreed> (%:~/tmp/root) monotone --db=../mt.db --depth=2 ls known . joelwreed> a/file joelwre

[Monotone-devel] [patch]--depth for monotone ls

2005-05-17 Thread Joel Reed
I took a look at adding support for limiting monotone's recursive predilections, which seems to be important option for some. I need it for better zsh file completion. Anyway I was able to add it in suprisingly few (to me at least) # of lines. I used --depth=X as the option and tested the code by