Вопрос

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?

Это было полезно?

Решение

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

Другие советы

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"

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top