/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/smart/server.py

  • Committer: Andrew Bennetts
  • Date: 2009-07-20 03:45:52 UTC
  • mto: This revision was merged to the branch mainline in revision 4550.
  • Revision ID: andrew.bennetts@canonical.com-20090720034552-5yxu5h0cittp2dub
Pass backing_urls to the new server_started_ex hook.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
        for hook in SmartTCPServer.hooks['server_started']:
113
113
            hook(backing_urls, self.get_url())
114
114
        for hook in SmartTCPServer.hooks['server_started_ex']:
115
 
            hook(self)
 
115
            hook(backing_urls, self)
116
116
        self._started.set()
117
117
        try:
118
118
            try:
218
218
            "public URL for the directory being served.", (0, 16), None))
219
219
        self.create_hook(HookPoint('server_started_ex',
220
220
            "Called by the bzr server when it starts serving a directory. "
221
 
            "server_started is called with (server_obj).", (1, 17), None))
 
221
            "server_started is called with (backing_urls, server_obj).",
 
222
            (1, 17), None))
222
223
        self.create_hook(HookPoint('server_stopped',
223
224
            "Called by the bzr server when it stops serving a directory. "
224
225
            "server_stopped is called with the same parameters as the "