~manishsinha/zeitgeist-datasources/bzr-improvements-subjects

Viewing all changes in revision 169.

  • Committer: Manish Sinha
  • Date: 2012-03-24 13:01:04 UTC
  • Revision ID: manishsinha@ubuntu.com-20120324130104-s9hxc73hlb7wjg3l
 Fixed the subjects

* Actor is bzr.desktop just so that we are able to fetch the events
* Apart from folder subject, added subject for each file involved in the event
* Used Gio.File to get the mimetype of the file subject
* Subject Interpretation is not being set as it is decided by the mimetype
* File subjects are set only for commit messages as for push and pull, remote URI are
    used from which mimetype cannot be found out by Gio.File
* In case of Commit the text is "Revision: 23, Message: commit message"
* In case of Push, commit message is like "Pushed branch from 12 to 14"
* In case of Pull, commit message is like "Updated branch from 12 to 14"

------------- This line and the following will be ignored --------------

modified:
  bzr/hooks.py

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: