darcs

Issue 1561 darcs annotate --repodir /something '' => Pattern match failure in do expression at src/Darcs/Commands/Annotate.lhs:159 (2.2+)

Title darcs annotate --repodir /something '' => Pattern match failure in do expression at src/Darcs/Commands/Annotate.lhs:159 (2.2+)
Priority bug Status resolved
Milestone Resolved in 2.5.2
Superseder Nosy List darcs-devel, dmitry.kurochkin, flo, jaredj, kowey, thorkilnaur
Assigned To flo
Topics FilePath, ProbablyEasy

Created on 2009-08-23.21:44:47 by kowey, last changed 2016-04-04.14:57:10 by gh.

Messages
msg8442 (view) Author: kowey Date: 2009-08-23.21:44:43
Hi Florian, I'm splitting this off from issue1473.  Perhaps you'd also be
interested in fixing this?  It should give a proper user-friendly error message
and not some kind of Haskell error.
msg8482 (view) Author: flo Date: 2009-08-25.13:52:43
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm fine with that, but expect me to take some time.

Regards,
Florian

On Aug 23, 2009, at 11:44 PM, Eric Kow wrote:

>
> New submission from Eric Kow <kowey@darcs.net>:
>
> Hi Florian, I'm splitting this off from issue1473.  Perhaps you'd  
> also be
> interested in fixing this?  It should give a proper user-friendly  
> error message
> and not some kind of Haskell error.
>
> ----------
> assignedto: flo
> messages: 8442
> nosy: dmitry.kurochkin, flo, jaredj, kowey, simon, thorkilnaur
> status: need-implementation
> title: darcs annotate --repodir /something '' => Pattern match  
> failure in do expression at src/Darcs/Commands/Annotate.lhs:159 (2.2+)
> topic: ProbablyEasy
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue1561>
> __________________________________

- --
Florian Gilcher

smtp:   flo@andersground.net
jabber: Skade@jabber.ccc.de
gpg:    533148E2

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.12 (Darwin)

iEYEARECAAYFAkqT7E4ACgkQyLKU2FMxSOLEEACbBMn0JFxgA8tUy5oU9rcIYB57
cAEAniFW97IZkefWgnh9V24MEsB8sNM3
=yyqo
-----END PGP SIGNATURE-----
msg13759 (view) Author: vegai Date: 2011-02-25.16:25:32
This seems to have been fixed already.

vegai@QB-J-L-0069 ~/darcs darcs -v
2.4.4 (release)
vegai@QB-J-L-0069 ~/darcs darcs annotate --repodir 
/Users/vegai/darcs/docs  

darcs failed:  Annotate requires either a patch pattern or a file or 
directory argument.
msg13760 (view) Author: kowey Date: 2011-02-26.23:58:33
I can confirm that darcs annotate --repodir /myrepo '' fails on darcs-
2.4.4 and succeeds in a darcs-2.7

We could do with a test case to close this ticket (and also some pinning, 
does it work with released darcs-2.5.1?)
History
Date User Action Args
2009-08-23 21:44:47koweycreate
2009-08-25 07:15:26koweysetpriority: bug
nosy: kowey, simon, thorkilnaur, jaredj, dmitry.kurochkin, flo
topic: + FilePath
2009-08-25 13:52:46flosetnosy: kowey, simon, thorkilnaur, jaredj, dmitry.kurochkin, flo
messages: + msg8482
2009-08-25 18:16:18adminsetnosy: + darcs-devel, - simon
2009-08-27 14:32:29adminsetnosy: kowey, darcs-devel, thorkilnaur, jaredj, dmitry.kurochkin, flo
2011-02-25 16:25:33vegaisetmessages: + msg13759
2011-02-26 23:58:34koweysetmessages: + msg13760
2016-04-04 14:57:10ghsetstatus: needs-implementation -> resolved
resolvedin: 2.5.2