Reputation: 994
I have a site developed using Yii framework, and I want to upgrade the framework from version 1.1.8 to 1.1.11. I have made framework modifications that went into 1.1.11, but others didn't and I don't remember exactly which ones they are.
Is there a way to search for all the changes in a Mercurial repository made in a certain path? The framework sits in ./yiiframework directory.
Upvotes: 0
Views: 91
Reputation: 97355
While @David answer is technically correct, it's wrong ideologically, and I'll answer on not-asked-question
"How to maintain my patches on top of changing upstream codebase"
which is really your business-task
For Mercurial this is rather easy job, where you perform only part of work "merge parallel changes", which can't be done automatically by SCM.
Short HowTo
After this actions your have 1.1.11 with changes inherited from your 1.1.8
Future workflow * Work on own branch only * Pull from upstream (if you can) into default or update default by hand * Merge into My, when it's needed
PS - More complex workflow may assume and admit using MQ-patches on top of single branch
Upvotes: 0
Reputation: 154664
You can pass a path to the hg log
command:
hg log path/to/foo
Upvotes: 1