Is there a bzr command (text or GUI) to list a file's revision history?

Asked by Anne Mohsen

"bzr log" shows revisions of the branch. "bzr visualise" shows them in a GUI manner.
Is there something equivalent for a single version-controlled file?
For example, if I need to browse all recent changes done to file X in order to find out why some behaviour of our software has changed...
"bzr visualise" is not suitable for that because the revisions which changed the file are drowned among all the other ones.

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Elliot Murphy (statik) said :
#1

Anne Mohsen wrote:
> New question #33304 on Bazaar:
> https://answers.edge.launchpad.net/bzr/+question/33304
>
> "bzr log" shows revisions of the branch. "bzr visualise" shows them in a GUI manner.
> Is there something equivalent for a single version-controlled file?
> For example, if I need to browse all recent changes done to file X in order to find out why some behaviour of our software has changed...
> "bzr visualise" is not suitable for that because the revisions which changed the file are drowned among all the other ones.
>
>
Hi Anne,

You can use 'bzr log <filename>' to see the revisions which touched that
file. I like 'bzr log --short <filename>' myself.

There is also the gannotate command, and you can select a bit of code
and walk backward through history.

We don't yet have (this would be very cool) a way to take the visualise
view and display it on one side or the top of the gannote window. I
think that would be a very nice feature.
--
Elliot Murphy | https://launchpad.net/~statik/

Can you help with this problem?

Provide an answer of your own, or ask Anne Mohsen for more information if necessary.

To post a message you must log in.