[darcs-users] "-n" option for "darcs show contents" broken
Derrick Moser
derrick_moser at yahoo.com
Tue Jun 28 22:43:45 UTC 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20110628/c654b86b/attachment.html>
More information about the darcs-users
mailing list