mercurial/config.py
changeset 14659 4392594746f6
parent 14642 fdcdb221a922
child 14696 5fb3cb7266e5
--- a/mercurial/config.py	Fri Jun 17 20:33:02 2011 +0200
+++ b/mercurial/config.py	Fri Jun 17 15:36:56 2011 -0500
@@ -74,7 +74,7 @@
         sectionre = re.compile(r'\[([^\[]+)\]')
         itemre = re.compile(r'([^=\s][^=]*?)\s*=\s*(.*\S|)')
         contre = re.compile(r'\s+(\S|\S.*\S)\s*$')
-        emptyre = re.compile(r'\s*(;|#|\s*$)')
+        emptyre = re.compile(r'(;|#|\s*$)')
         commentre = re.compile(r'(;|#)')
         unsetre = re.compile(r'%unset\s+(\S+)')
         includere = re.compile(r'%include\s+(\S|\S.*\S)\s*$')