Merge lp:~amanica/bzr-notification/with_commit_hook into lp:bzr-notification
Proposed by
Marius Kruger
on 2009-07-03
| Status: | Needs review |
|---|---|
| Proposed branch: | lp:~amanica/bzr-notification/with_commit_hook |
| Merge into: | lp:bzr-notification |
| Diff against target: | None lines |
| To merge this branch: | bzr merge lp:~amanica/bzr-notification/with_commit_hook |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Robert Collins (community) | Approve on 2009-11-05 | ||
| jhs | 2009-07-03 | Pending | |
|
Review via email:
|
|||
To post a comment you must log in.
| Marius Kruger (amanica) wrote : | # |
| Robert Collins (lifeless) wrote : | # |
This looks ok to me, though I'm not a committer on bzr-notification. It does seem strictly redundant on the bzr-dbus+bzr-gtk notifications though.
review:
Approve
Unmerged revisions
- 14. By Marius Kruger on 2009-07-03
-
* add post_commit_hook which shows a notification after a commit to a checkout succeeds.
* rather pass the branch base to notify_send so we can factor out more formatting. - 13. By Marius Kruger on 2009-07-02
-
factor out notify_send function

This adds a commit hook which shows a notification after a commit to a checkout succeeds (which can also take a while).
Other minor changes:
* I factored out a notify send method
* I changed the timeout to 9000 (we should probably make that configurable)
You are welcome to merge this as is or copy&paste any parts of it you like.