How to show only commits done against a specific branch nick?

Kevin m1ndstr3ngthapps at gmail.com
Tue Sep 22 04:39:57 UTC 2015


Hello, Bazaar users/devs:

In Mercurial (hg), a user can enter the following command --
hg log --branch /branchName

/This shows only the commits which were done against a specific named 
branch.

What bzr command can give me the same functionality? I could not find an 
option for "bzr log" that would do the same thing.
For example, if I committed revs 1, 2, and 3 in branch nick "trunk" and 
2.1.1, 2.1.2, and 4 in branch nick "ftr-foo", how can I print only the 
revs under branch nick "ftr-foo" such that I'd only see 2.1.1, 2.1.2, 4? 
And how would I get only the commits which were done against the "trunk" 
branch nick? DAG graph below.

4 [ftr-foo]
|  \
3  \ [trunk]
|    \
|     2.1.2 [ftr-foo]
|      |
|     2.1.1 [ftr-foo]
|   /
2 [trunk]
|
1 [trunk]

Thanks:
Kevin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20150921/66a9f76c/attachment.html>


More information about the bazaar mailing list