Hello everyone.  There appears to be a bug in the implementation of the "-n" 
option to "darcs show contents".  I created a simple test repository and this 
is what results using Darcs 2.5.2 (the latest stable release):


$ darcs changes -v --number
1: Tue Jun 28 18:22:42 EDT 2011  derrick_moser at yahoo.com
  * Another test change.
    hunk ./a.txt 1
    -Second version.
    +Third version.

2: Tue Jun 28 18:22:19 EDT 2011  derrick_moser at yahoo.com
  * A test change.
    hunk ./a.txt 1
    -Initial version.
    +Second version.

3: Tue Jun 28 18:21:03 EDT 2011  derrick_moser at yahoo.com
  * Initial version
    addfile ./a.txt
    hunk ./a.txt 1
    +Initial version.


$ darcs show contents -p 'A test change' a.txt 
Second version.
$ darcs show contents -n 2 a.txt
darcs: Maybe.fromJust: Nothing
$
Am I attempting to use the option correctly?  I expected it to display the same 
results as "darcs show contents -p 'A test change' a.txt".

Cheers,
Derrick
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to