[darcs-devel] [issue1473] darcs annotate --repodir /something '.' fails in darcs 2.2

Florian Gilcher bugs at darcs.net
Fri May 29 16:36:52 UTC 2009


New submission from Florian Gilcher <flo at andersground.net>:

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.

Regards,
Florian Gilcher

----------
messages: 7853
nosy: dmitry.kurochkin, flo, kowey, simon, thorkilnaur
status: unread
title: darcs annotate --repodir /something '.' fails in darcs 2.2

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1473>
__________________________________


More information about the darcs-devel mailing list