darcs

Issue 1496 `darcs annotate -p` does not respect both a patch and filename at the same time

Title `darcs annotate -p` does not respect both a patch and filename at the same time
Priority bug Status resolved
Milestone 2.12.0 Resolved in
Superseder Nosy List ashmoran, dan, darcs-devel, dmitry.kurochkin, jaredj, kowey, thorkilnaur, tommy
Assigned To tommy
Topics ProbablyEasy, UI

Created on 2009-07-15.07:13:02 by ashleymoran, last changed 2016-04-14.19:01:42 by gh.

Messages
msg7964 (view) Author: ashmoran Date: 2009-07-15.07:12:59
From Dan Pascu on darcs-users:

What's even more confusing, is that if I specify both a patch name and a file 
name, the patch is completely ignored and I get the full annotation for that 
file (even if the filename I provide is one affected by the patch I specify):

darcs annotate --patch "Foobar" filename
msg8131 (view) Author: kowey Date: 2009-08-14.08:37:03
I'm adding Dan and Tommy to this. 

Tommy wrote below...
http://lists.osuosl.org/pipermail/darcs-users/2009-August/020845.html

Tommy: do you think we can close this bug then?  Perhaps updating the
documentation along the way?

On Wed, Jul 15, 2009 at 02:25:21AM +0300, Dan Pascu wrote:
> What's even more confusing, is that if I specify both a patch name and a 
> file name, the patch is completely ignored and I get the full annotation 
> for that file (even if the filename I provide is one affected by the patch 
> I specify):

No, with both a file and a patch you will get the contents of
that file at the time that patch was applied (in inventory
application "time" order), including what lines where removed
from it. Unfortunately the output format verges to
human-unparseable.

It could be this information is more valuable when developing
and debugging patch types to see their exact effects and how
they commute, then to examine the repository's past.
msg19167 (view) Author: gh Date: 2016-04-14.19:01:40
Now that annotate is only about annotating files (and not showing patch
contents) there should be no more confusion.
History
Date User Action Args
2009-07-15 07:13:02ashleymorancreate
2009-08-06 15:36:24koweysetpriority: bug
nosy: + jaredj
topic: + ProbablyEasy, UI
2009-08-14 08:37:10koweysetstatus: unread -> waiting-for
nosy: + dan, tommy
messages: + msg8131
assignedto: tommy
2009-08-25 17:46:06adminsetnosy: + darcs-devel, - simon
2009-08-27 14:23:54adminsetnosy: tommy, kowey, darcs-devel, thorkilnaur, jaredj, dmitry.kurochkin, dan, ashleymoran
2009-10-23 23:43:50adminsetnosy: + ashmoran, - ashleymoran
2016-04-04 14:57:19ghsetmilestone: 2.12.0
2016-04-14 19:01:42ghsetstatus: waiting-for -> resolved
messages: + msg19167