# HG changeset patch # User Marcin Kuzminski # Date 2017-08-04 09:39:06 # Node ID 017b16498d95f7f9838ed15cb512b22ff6781f86 # Parent 8784eaf09eccb132dc1ebdc90473d1a7689cc755 vcsserver-status: report version for easier debugging. diff --git a/vcsserver/http_main.py b/vcsserver/http_main.py --- a/vcsserver/http_main.py +++ b/vcsserver/http_main.py @@ -269,7 +269,8 @@ class HTTPApplication(object): return resp def status_view(self, request): - return {'status': 'OK'} + import vcsserver + return {'status': 'OK', 'vcsserver_version': vcsserver.__version__} def service_view(self, request): import vcsserver