Mercurial > kallithea
comparison rhodecode/lib/middleware/simplehg.py @ 674:99875a8f2ad1 beta
#49 Enabled anonymous access push and pull commands
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 11 Nov 2010 01:21:33 +0100 |
parents | 070f32743632 |
children | 62c1fab8d29b |
comparison
equal
deleted
inserted
replaced
673:dd532af216d9 | 674:99875a8f2ad1 |
---|---|
44 class SimpleHg(object): | 44 class SimpleHg(object): |
45 | 45 |
46 def __init__(self, application, config): | 46 def __init__(self, application, config): |
47 self.application = application | 47 self.application = application |
48 self.config = config | 48 self.config = config |
49 #authenticate this mercurial request using | 49 #authenticate this mercurial request using authfunc |
50 self.authenticate = AuthBasicAuthenticator('', authfunc) | 50 self.authenticate = AuthBasicAuthenticator('', authfunc) |
51 self.ipaddr = '0.0.0.0' | 51 self.ipaddr = '0.0.0.0' |
52 self.repository = None | 52 self.repository = None |
53 self.username = None | 53 self.username = None |
54 self.action = None | 54 self.action = None |