Domanda

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?

È stato utile?

Soluzione

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

Altri suggerimenti

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"

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top