Mercurial > kallithea
comparison rhodecode/lib/middleware/simplehg.py @ 3823:972ad33c5610 beta
removed duplicate code that set os.environ['RC_SCM_DATA']
this was done via __inject_extras anyway
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 08 May 2013 17:43:59 +0200 |
parents | 336184b9f4cf |
children | 3208aaefc9ca |
comparison
equal
deleted
inserted
replaced
3822:b86229c66c67 | 3823:972ad33c5610 |
---|---|
183 ) | 183 ) |
184 # store the make_lock for later evaluation in hooks | 184 # store the make_lock for later evaluation in hooks |
185 extras.update({'make_lock': make_lock, | 185 extras.update({'make_lock': make_lock, |
186 'locked_by': locked_by}) | 186 'locked_by': locked_by}) |
187 | 187 |
188 # set the environ variables for this request | |
189 os.environ['RC_SCM_DATA'] = json.dumps(extras) | |
190 fix_PATH() | 188 fix_PATH() |
191 log.debug('HOOKS extras is %s' % extras) | 189 log.debug('HOOKS extras is %s' % extras) |
192 baseui = make_ui('db') | 190 baseui = make_ui('db') |
193 self.__inject_extras(repo_path, baseui, extras) | 191 self.__inject_extras(repo_path, baseui, extras) |
194 | 192 |