diff hgext/narrow/narrowrepo.py @ 36160:9fd8c2a3db5a

narrowspec: move module into core Having support for parsing the narrow specification in core is necessary for moving many other parts of narrow to core. We do still want to harmonize the narrow spec with the sparse spec. And the format needs to be documented. But this shouldn't hold up the code moving to core. Differential Revision: https://phab.mercurial-scm.org/D2201
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 12 Feb 2018 16:21:34 -0800
parents 0fe7e39dc683
children 3f0af89e008d
line wrap: on
line diff
--- a/hgext/narrow/narrowrepo.py	Mon Feb 12 16:15:34 2018 -0800
+++ b/hgext/narrow/narrowrepo.py	Mon Feb 12 16:21:34 2018 -0800
@@ -12,12 +12,12 @@
     hg,
     localrepo,
     match as matchmod,
+    narrowspec,
     scmutil,
 )
 
 from . import (
     narrowrevlog,
-    narrowspec,
 )
 
 # When narrowing is finalized and no longer subject to format changes,