Advertisement
Guest User

Untitled

a guest
Jul 24th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. 1. Summarise the issue (what were doing, what went wrong?)
  2. 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.
  3.  
  4. 2. What behaviour were you expecting instead?
  5. Darcs should only attempt to add files that aren't already added, if a directory is passed to darcs add (in this example '.').
  6.  
  7. 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: ./foo".
  8.  
  9. 3. What darcs version are you using? (Try: darcs --exact-version)
  10. 2.8.4
  11.  
  12. Example:
  13. I have a repo with 3 files in it that have been recorded in the first revision:
  14. _darcs a.txt b.txt c.txt
  15.  
  16. I add a new file d.txt
  17. _darcs a.txt b.txt c.txt d.txt
  18.  
  19. I do a darcs status
  20. a ./d.txt
  21.  
  22. I do a darcs add -r .
  23. The following files are already in the repository;
  24. note that to ensure portability we don't allow
  25. files that differ only in case. Use --case-ok to override this:
  26. c.txt
  27. b.txt
  28. a.txt
  29.  
  30. 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement