Reputation: 12674
So here is an example folder hierarchy:
c:\MyProject
c:\MyProject\Folder1
c:\Myproject\Folder2
In SVN, If I am only interested in looking at the history of changes in c:\MyProject\Folder1
I could just navigate to that folder, right click and view log.
With Mercurial doing the same thing shows all the changes in the entire MyProject. Is there a way to filter out and show me only changes in Folder1
(And its sub-folders) ?
Upvotes: 18
Views: 6994
Reputation: 12900
Old question, but: if you installed only TortoiseHg with no explorer extensions, then you can press Ctrl-S in it and enter the revision query file("path:SOME/PATH")
.
Upvotes: 0
Reputation: 8038
In the new style tortoise hg (Hg Workbench) you can achieve this by right clicking and selecting TortoiseHg => Revision History
on a folder in your repo.
What this actually does is filter (ctrl+s) like this file('path:some/relative/path')
Upvotes: 2
Reputation: 66733
It pretty much works as you would expect, same as for svn log
:
hg log c:\MyProject\Folder1
Upvotes: 25
Reputation: 36421
In TortoiseHG, you right-click on Folder1
and open the Repository Explorer from there.
This automatically sets the filter in the Repository Explorer to show only the history of this folder.
Something similar is described here (for single files instead of folders, but you get the idea...)
Upvotes: 5