filter bzr log by branch nick
Bug #125773 reported by
Barry Warsaw
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
I often don't know how far back I want bzr log to display, except that I know
I don't want it to go back to the beginning of time. What I really want is to
see a log of all the changes I made on a particular branch.
It would be nice if I could do something like
bzr log -n my-branch-nick
and see all the revisions that have a matching branch nick.
tags: | added: check-for-breezy |
To post a comment you must log in.
I think there are a few possibilities for something like this.
I would probably call it '--nick', just like you can search based on '--message'. 'bzr log --message REGEX' uses a regular expression, rather than a direct match, but I think we could do either for --nick. I wouldn't use a glob, though.
One further possibility, would be to expose something like an SQL layer for queries. A possible implementation is to load all revision information, shove it into a sqlite :memory: file, and then run whatever SQL query the user asked. It would probably be a nice plugin to have around.
It certainly would also be possible to keep the sqlite file around in a cache. Probably more of a plugin than a core feature. But '--nick' could certainly be a core feature. (Since generating branch-nick is a core feature)