I am looking for a way with TortoiseHg (or plain hg if no other possibility exists) to locate all the changes to a particular file.
I've tried using a revision set query:
merge() and file("path/to/filename.cs")
but that didn't get me what I'm looking for. It returns an empty set. I assume this is because merge()
only returns merges, and file()
only (appears to) returns non-merges, so the intersection is empty.
I've also tried modifies(pattern)
but that doesn't appear sufficiently different from file(pattern)
(looks to me like file()
is the union of adds()
and modifies()
). contains(pattern)
doesn't return any elements at all.
So, is it possible to get a list of changesets in which a particular file has been modified in any way?