In git, I can do the following:
git log foo ^bar
to show changes in the foo branch, but not in the bar branch. Is there a way to do this in Mercurial?
Edit:. Explain a little more. Say I have a branch in Mercurial (name it foo ) that is forked by default . What I want to know is that commits are in foo branches and therefore have not been merged with default . Maybe I'm thinking about it wrong, but in git I could start working on foo , merge to master , and then work on foo and use the command above to find out which commits are there for merging.
Thus, a specific use case is knowing whether a branch was completed merged by default. From using Mercurial, if I launched the foo off default branch to work with one function, leave it there to combine it and separate from foo to create a bar that contains another function built on top of things in foo , foo ends up which is inactive because bar contains all the changes in the foo file, but I might want to merge only the set of changes in foo , because I know that they are good, and bar is still in development. Hope this is helpful.
mercurial
Bialecki
source share