projects
/
bzrirker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5846c4
)
Bugfixing
author
Neil
<neil@dip.sun.ac.za>
Sun, 11 Nov 2012 11:36:30 +0000
(13:36 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Sun, 11 Nov 2012 11:36:30 +0000
(13:36 +0200)
__init__.py
patch
|
blob
|
history
irkerhook.py
patch
|
blob
|
history
diff --git
a/__init__.py
b/__init__.py
index ebbe6c775a2686cdc5e25ec509f7d2453b1b41f5..c775f514a941c664c3e402718b6f1a596dec0f8b 100644
(file)
--- a/
__init__.py
+++ b/
__init__.py
@@
-33,9
+33,9
@@
def branch_post_change_hook(params):
"""This is the post_change_branch_tip hook."""
# (branch, old_revno, new_revno, old_revid, new_revid)
br = params.branch
- revs = br.revision_history()[params.old_revno:params.new_revno]
+ revs = br.
_
revision_history()[params.old_revno:params.new_revno]
for rev_id in revs:
- _irker.IrkerSender(br, rev_id, br.get_config_stack()).send()
+ _irker
hook
.IrkerSender(br, rev_id, br.get_config_stack()).send()
def test_suite():
diff --git
a/irkerhook.py
b/irkerhook.py
index 7e59a6ebc767d63fe371c169d166982e886e40d9..823ce52d854144ccf5c714fefbd08591f4a04f01 100644
(file)
--- a/
irkerhook.py
+++ b/
irkerhook.py
@@
-106,7
+106,7
@@
class IrkerSender(object):
'cyan': '\x0310',
'reset': '\x0F',
}
- return colours
+ return colours
.iteritems()
def project(self):
project = self.config.get('irker_project')