Fri Sep 02 07:52:03 2005: New ticket: 505.
Transaction: Ticket created by guest
       Queue: Darcs
     Subject: whatsnew summary shows removed text files as "M", not "R", if
 they lacked the last eol
       Owner: Nobody
  Requestors: [EMAIL PROTECTED]
      Status: new
 Ticket <URL: http://bugs.darcs.net/.//Ticket/Display.html?id=505 >

Bug in darcs 1.0.3 (release). To demonstrate:
1. "darcs initialize" in an empty directory
2. Create a text file in which the last line is not followed
   by a newline. (Use Notepad on Windows; an alternative is
   to use ":set binary" and ":set noeol" in Vim).
3. "darcs record -l -a"
4. Delete the text file.
5. "darcs whatsnew -s".
   The output will be something like
     M ./a.txt -2
   The "M" should be an "R".
   However, the output of "darcs whatsnew" will look OK:
     {
     hunk ./a.txt 1
     -one two three[_^M_][_$_]
     -four five six
     +
     rmfile ./a.txt
     }

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to