Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/hgweb/files/hgweb.fcgi

Issue 29329092: Issue 3115 - Remove obsolete race condition workaround (Closed)
Patch Set: Created Oct. 13, 2015, 11:59 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/hgweb/files/hgweb.fcgi
diff --git a/modules/hgweb/files/hgweb.fcgi b/modules/hgweb/files/hgweb.fcgi
index f7726ffe1544964d96f415aa480ff5713b66f7b8..85cc66e3bc6da7a10261920d5647d07060eb3f48 100755
--- a/modules/hgweb/files/hgweb.fcgi
+++ b/modules/hgweb/files/hgweb.fcgi
@@ -28,19 +28,6 @@ from flup.server.fcgi import WSGIServer
from urllib import unquote
import sys
-# Serialize ui.setconfig() accesses to avoid hitting http://bz.selenic.com/show_bug.cgi?id=3953
-from mercurial.ui import ui
-import thread
-
-config_lock = thread.allocate_lock()
-orig_setconfig = ui.setconfig
-
-def new_setconfig(*args, **kwargs):
- with config_lock:
- orig_setconfig(*args, **kwargs)
-
-ui.setconfig = new_setconfig
-
# The config file looks like this. You can have paths to individual
# repos, collections of repos in a directory tree, or both.
#
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld