--- a/mercurial/commands.py Thu Sep 11 12:21:15 2014 -0500
+++ b/mercurial/commands.py Thu Sep 11 12:26:12 2014 -0500
@@ -1522,7 +1522,7 @@
if os.path.exists(f):
break
else:
- from config import samplehgrcs
+ from ui import samplehgrcs
if opts.get('global'):
samplehgrc = samplehgrcs['global']