darcs

Issue 1473 darcs annotate --repodir /something '.' => no file or directory named '.' (2.2+)

Title darcs annotate --repodir /something '.' => no file or directory named '.' (2.2+)
Priority bug Status resolved
Milestone 2.5.0 Resolved in 2.8.0
Superseder Nosy List StefanWehr, darcs-devel, dmitry.kurochkin, flo, jaredj, kowey, thorkilnaur
Assigned To
Topics FilePath, ProbablyEasy, Regression

Created on 2009-05-29.16:36:52 by flo, last changed 2011-12-29.01:12:31 by noreply.

Messages
msg7853 (view) Author: flo Date: 2009-05-29.16:36:50
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
msg8130 (view) Author: kowey Date: 2009-08-14.08:34:11
I'd like somebody eventually to mentor Florian in fixing this if he's still up
for it.  Thanks
msg10106 (view) Author: kowey Date: 2010-03-02.21:24:19
Looks like this is biting the Redmine folks.
http://www.redmine.org/boards/2/topics/11517?r=11863#message-11863

Let's see if we can work on this during the Zurich sprint (of course, if
any of the Redmine team would like to roll up their sleeves for some
minor Haskell hacking, even better!)
msg10377 (view) Author: StefanWehr Date: 2010-03-21.14:17:56
The following patch updated the status of issue1473 to be resolved:

* Resolve issue1473: annotate command accepts "." and treats "" as invalid input 
Ignore-this: 5faea0580f9cf17ee59964a509f90613
msg11393 (view) Author: StefanWehr Date: 2010-06-13.17:16:47
The following patch updated the status of issue1473 to be resolved-in-stable:

* Resolve issue1473: annotate command accepts "." and treats "" as invalid input 
Ignore-this: 5faea0580f9cf17ee59964a509f90613
msg14891 (view) Author: noreply Date: 2011-12-29.01:12:30
The following patch sent by Florent Becker <florent.becker@ens-lyon.org> updated issue issue1473 with
status=resolved;resolvedin=2.8.0 HEAD

* resolve issue1473 : annotate --repodir works now 
Ignore-this: d73caad407b4f517b7f3a7221d799384

This is just observing that the bug has already been resolved, presumably
by the new annotate code.
History
Date User Action Args
2009-05-29 16:36:52flocreate
2009-05-30 02:50:10twbsettopic: + Confirmed
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, flo
2009-08-06 14:48:53koweysetpriority: bug
nosy: + jaredj
topic: + ProbablyEasy, Regression, Target-2.4
title: darcs annotate --repodir /something '.' fails in darcs 2.2 -> darcs annotate --repodir /something '.' => Pattern match failure (2.2+)
2009-08-14 08:34:20koweysetstatus: unread -> needs-implementation
nosy: kowey, simon, thorkilnaur, jaredj, dmitry.kurochkin, flo
messages: + msg8130
2009-08-23 21:42:23koweysettopic: - Confirmed
nosy: kowey, simon, thorkilnaur, jaredj, dmitry.kurochkin, flo
title: darcs annotate --repodir /something '.' => Pattern match failure (2.2+) -> darcs annotate --repodir /something '.' => no file or directory named '.' (2.2+)
2009-08-24 16:02:32koweysettopic: + FilePath
nosy: kowey, simon, thorkilnaur, jaredj, dmitry.kurochkin, flo
2009-08-25 17:45:24adminsetnosy: + darcs-devel, - simon
2009-08-27 14:32:22adminsetnosy: kowey, darcs-devel, thorkilnaur, jaredj, dmitry.kurochkin, flo
2009-09-14 10:45:44koweysettopic: + Target-2.5, - Target-2.4
nosy: kowey, darcs-devel, thorkilnaur, jaredj, dmitry.kurochkin, flo
2010-03-02 21:24:29koweysetmessages: + msg10106
2010-03-20 11:46:49ganeshlinkpatch187 issues
2010-03-21 14:17:59StefanWehrsetstatus: needs-implementation -> resolved
nosy: + StefanWehr
messages: + msg10377
2010-06-13 17:16:48StefanWehrsetstatus: resolved -> resolved-in-stable
messages: + msg11393
2010-06-15 20:51:48adminsetmilestone: 2.5.0
2010-06-15 20:59:03adminsettopic: - Target-2.5
2010-06-15 22:14:15adminsetstatus: resolved-in-stable -> resolved
2010-06-15 22:14:15adminsetresolvedin: 2.5.0
2011-12-29 01:12:31noreplysetmessages: + msg14891
resolvedin: 2.5.0 -> 2.8.0