##// 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 b' class SimpleGit(BaseVCSController):'
222 222 # store the make_lock for later evaluation in hooks
223 223 extras.update({'make_lock': make_lock,
224 224 'locked_by': locked_by})
225 # set the environ variables for this request
226 os.environ['RC_SCM_DATA'] = json.dumps(extras)
225
227 226 fix_PATH()
228 227 log.debug('HOOKS extras is %s' % extras)
229 228 baseui = make_ui('db')
@@ -185,8 +185,6 b' class SimpleHg(BaseVCSController):'
185 185 extras.update({'make_lock': make_lock,
186 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 188 fix_PATH()
191 189 log.debug('HOOKS extras is %s' % extras)
192 190 baseui = make_ui('db')
General Comments 0
You need to be logged in to leave comments. Login now