[darcs-users] darcs patch: Test for Issue 1473 (darcs annotate misbehaves)
Florian Gilcher
flo at andersground.net
Fri May 29 17:01:43 UTC 2009
Fri May 29 18:44:09 CEST 2009 Florian Gilcher <flo at andersground.net>
* Test for Issue 1473 (darcs annotate misbehaves)
This is a test for issue 1473, "darcs annotate --repodir /something '.' fails in darcs 2.2".
Original Message for reference:
The following doesn't work in darcs > 2.2 but did in 2.1:
$ darcs --version
2.2.0 (release)
$ darcs annotate --repodir /some/repodir '.'
darcs failed: There is no file or directory named '.'
Also, the following throws an exception, although I am pretty sure
it is not considered legal input:
$ darcs annotate --repodir /some/repodir ''
darcs failed: Pattern match failure in do expression at src/Darcs/
Commands/Annotate.lhs:159:2-26
Changing to the directory works:
$ cd /some/repodir
$ darcs annotate '.'
$ darcs annotate '' # fails, but i consider that expected behaviour.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 77679 bytes
Desc: A darcs patch for your repository!
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090529/1676a1d5/attachment-0001.bin>
More information about the darcs-users
mailing list