diff mercurial/commands.py @ 22419:fdfc9faca273

ui: move samplehgrcs from config config is generic code that doesn't know about Mercurial usage, so this was at the wrong layer
author Matt Mackall <mpm@selenic.com>
date Thu, 11 Sep 2014 12:26:12 -0500
parents ca854cd4a26a
children edf07a804ac4
line wrap: on
line diff
--- 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']