Reputation: 3637
I'm trying to merge the latest revision of our main branch into a much older branch. There's only two files that have conflicts, but the conflicts are complicated and I'd like to manually copy the changes from the more recent revision and fix some things. There's been a tonne of commits since the last commit into the old branch and I don't know when those two files were changed.
Using TortoiseHg, how can I find the latest revision on any branch where a particular file was changed?
Upvotes: 3
Views: 1983
Reputation: 12988
From Windows Explorer, right click on the file whose history you are interested in.
In the TortoiseHG menu, select "Revision History":
This will bring up a window showing only the changesets which have modified that file (in any branch). It should also show history across tracked file renames (if the hg log
"follow" option is enabled in hgrc), copies, and moves.
You can also get to the same thing from within the THG Workbench application, from the lower files list, where it is called "File History":
Either will bring you to:
Furthermore, command line equivalents of this screen would be to use hg log file
and hg annotate file
.
Upvotes: 6