379
379
These are all empty initially, because by default nothing should get
382
_mod_hooks.Hooks.__init__(self)
383
self.create_hook(_mod_hooks.HookPoint('post_status',
382
_mod_hooks.Hooks.__init__(self, "bzrlib.status", "hooks")
383
self.add_hook('post_status',
384
384
"Called with argument StatusHookParams after Bazaar has "
385
385
"displayed the status. StatusHookParams has the attributes "
386
386
"(old_tree, new_tree, to_file, versioned, show_ids, short, "
387
387
"verbose). The last four arguments correspond to the command "
388
388
"line options specified by the user for the status command. "
389
389
"to_file is the output stream for writing.",
391
self.create_hook(_mod_hooks.HookPoint('pre_status',
391
self.add_hook('pre_status',
392
392
"Called with argument StatusHookParams before Bazaar "
393
393
"displays the status. StatusHookParams has the attributes "
394
394
"(old_tree, new_tree, to_file, versioned, show_ids, short, "
395
395
"verbose). The last four arguments correspond to the command "
396
396
"line options specified by the user for the status command. "
397
397
"to_file is the output stream for writing.",
401
401
class StatusHookParams(object):