1. Summarise the issue (what were doing, what went wrong?)
Whenever I do `darcs add -r .` I get a message listing all the files in
the directory that were already added, which could be a really long list.
2. What behaviour were you expecting instead?
Darcs should only attempt to add files that aren't already added, if a
directory is passed to darcs add (in this example '.').
Further, if -v is passed, darcs should show the files it ignored since
they were already added, i.e. something like "skipping already added file:
3. What darcs version are you using? (Try: darcs --exact-version)
I have a repo with 3 files in it that have been recorded in the first
_darcs a.txt b.txt c.txt
I add a new file d.txt
_darcs a.txt b.txt c.txt d.txt
I do a darcs status
I do a darcs add -r .
The following files are already in the repository;
note that to ensure portability we don't allow
files that differ only in case. Use --case-ok to override this:
Guillaume's recent patch will now list the fact that d.txt was added, but
it would be much nicer if darcs didn't mention a.txt, b.txt, c.txt unless
I specify the -v option.
Yes, maybe the message "The following files are already in the
repository..." (with file listing) is too much.
But on the other hand I would not like darcs not telling me at all that
some files were not added because they are already versioned (especially
when at last no file are added).
How about this: when -v is not passed, show a message like "Some files
are already in the repository and were not added.", and when -v is
passed, show the current message?
The following patch sent by Guillaume Hoffmann <email@example.com> updated issue issue2335 with
* resolve issue2335: one liner when adding tracked files if not verbose