[darcs-users] behaviour of darcs annotate
ganesh at earth.li
Wed Oct 22 19:56:10 UTC 2008
Replying to my own message after some further investigation...
On Wed, 22 Oct 2008, Ganesh Sittampalam wrote:
> If the entity was ever renamed, then the behaviour of annotate seems to
> depend on whether the rename was in the future or in the history relative
> to the selected patch. If it was in the history, then annotate continues
> to follow the file with its old name through the rest of the history.
> However, if it was in the future, then annotate seems to stop at that
> point and not report on any changes beyond the move patch. Is that
Apologies; I think I got this bit wrong and the behaviour here is actually
consistent - all the relevant changes get marked in either case.
> Secondly, the selected patch is special, in that changes made by it are
> marked specially in the annotate output, and anything it deleted is also
> listed. This seems to make sense when the user explicitly selected a
> patch, but when the user didn't (and thus the last patch in the repo was
> implicitly selected) it feels a little odd - generally when I annotate
> in those circumstancs I don't care particularly about the last patch, I
> just want to know about how the entity reached its current state. Again,
> is this behaviour what we want?
I'm still somewhat interested in the answer to this question, though.
More information about the darcs-users