Question

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?

Was it helpful?

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

OTHER TIPS

If you are using TortoiseHg on Windows, you can navigate to the parent directory of the directory you are interested in, click on the directory's entry, select TortoiseHg from its context menu and then click on "Revision History"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top