或るファイルが修正された或るリビジョンの次のリビジョン: hg log --rev "min(modifies('</target/file/path>') and <target_change_set>: and ! <target_change_set>)" 或るファイルが修正された或るリビジョンの前のリビジョン: hg log --rev "max(modifies('</target/file/path>') and :$<target_change_set>~1)"