Behaviour of log --patch --follow

ekhumoro ekhumoro at gmx.com
Wed May 13 23:05:13 UTC 2015


On 13/05/15 23:52, Matt Mackall wrote:
> On Wed, 2015-05-13 at 23:34 +0100, ekhumoro wrote:
>> I think the issue here is probably my lack of knowledge. Quite a while
>> ago, I created an alias which does essentially the same as the command
>> above. It solved some problem with renaming (the details of which
>> completely escape me now), and I have been using it regularly ever
>> since. The alias is:
>>
>>       fdiff = log --follow --patch
>>
>> Which I currently use like this:
>>
>>       hg fdiff -r 233
>>
>> to see a diff of all the changes made to all the files for a specific
>> revision. Am I wrong to assume that --follow could have ever made any
>> useful difference for this use case?
>
> It's totally unnecessary for that case.. and prior to 3.4, may actually
> cause random things to happen.
>

Okay, thanks for clarifying.

It's a pity that it's not possible to add custom help for aliases, so I 
could easily find out why the heck I created them and how they were 
intended to be used. I suppose I'll just have to make do with comments...




More information about the Mercurial mailing list