Search code examples
tortoisehgrevision-history

Revision History Tortoise Hg


I know that it is possible to view the revision history of a single file in Tortoise Hg. However, I would like to view the revision history within a certain directory. Is this possible with TortoiseHg?


Solution

  • TortoiseHG Workbench - Main menu - View - Filter Toolbar

    Write revset condition into listbox, enable "Filter" checkbox

    For path-based revset you have to use file() function with needed directory pattern

    Filtered Log

    PS: For CLI this log can be built even faster

    hg log -r "file('lang/UTF-8/*')" - only this dir

    hg log -r "file('lang/**')" - this dir with subdirs