[darcs-devel] [patch1084] announce added files

Eric Kow kowey at darcs.net
Thu Jul 25 12:44:11 UTC 2013


Feedback sounds great.

I'm worried about inundating users who have no idea what to expect
  darcs add -r src
  <scrolls off screen>

Users who would not and should not know to use “--quiet”.
(and this is the same no matter how sophisticated the user)

I wonder if there's any sort of clever depth-cut-off mechanism that we
can use here, some packing/expanding algorithm that only expands trees
up to a certain number of lines of output

So you get eg. darcs add -r src

  src/wibble/... [45 files]
  src/wobble/... [33 files]
  ..
  ..
  src/foo .. [6 files]

But the src directory had too many files in it, then you may instead
just see something like

   src [245 files]

But maybe darcs add isn't used on recursively big inputs like this in practice?




On 25 July 2013 13:04, Guillaume Hoffmann <guillaumh at gmail.com> wrote:
> Then there are many files announced. To come bak to the previous
> behaviour, it is possible to use the -q / --quiet flag.



-- 
Eric Kow <http://erickow.com>


More information about the darcs-devel mailing list