=== modified file '__init__.py' --- __init__.py 2009-04-13 14:17:48 +0000 +++ __init__.py 2010-07-06 08:08:12 +0000 @@ -62,19 +62,19 @@ # remote working trees suppressed, since our post-push hook will # actually update them. import re - orig_note = trace.note - def wrapped_note(msg): + orig_warning = trace.warning + def wrapped_warning(msg, *args, **kwargs): if re.match('^This transport does not update.*(ssh://|sftp://|bzr+ssh://)', msg): # Suppress warnings about not updating bzr+ssh and sftp working # trees return - orig_note(msg) - trace.note = wrapped_note + orig_warning(msg, *args, **kwargs) + trace.warning = wrapped_warning try: return builtins.cmd_push.run(self, *args, **kwargs) finally: - trace.note = orig_note + trace.warning = orig_warning commands.register_command(cmd_push)