##// END OF EJS Templates
removed duplicate code that set os.environ['RC_SCM_DATA']...
marcink -
r3823:972ad33c beta
parent child Browse files
Show More
@@ -222,8 +222,7 class SimpleGit(BaseVCSController):
222 # store the make_lock for later evaluation in hooks
222 # store the make_lock for later evaluation in hooks
223 extras.update({'make_lock': make_lock,
223 extras.update({'make_lock': make_lock,
224 'locked_by': locked_by})
224 'locked_by': locked_by})
225 # set the environ variables for this request
225
226 os.environ['RC_SCM_DATA'] = json.dumps(extras)
227 fix_PATH()
226 fix_PATH()
228 log.debug('HOOKS extras is %s' % extras)
227 log.debug('HOOKS extras is %s' % extras)
229 baseui = make_ui('db')
228 baseui = make_ui('db')
@@ -185,8 +185,6 class SimpleHg(BaseVCSController):
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')
General Comments 0
You need to be logged in to leave comments. Login now