changeset 29319:cc497d2830b0

largefiles: rename match_ to matchmod import in reposetup
author liscju <piotr.listkiewicz@gmail.com>
date Thu, 12 May 2016 11:49:23 +0200
parents 2572bb2e06f8
children 016a90152e9c
files hgext/largefiles/reposetup.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/reposetup.py	Thu May 12 11:48:39 2016 +0200
+++ b/hgext/largefiles/reposetup.py	Thu May 12 11:49:23 2016 +0200
@@ -16,7 +16,7 @@
 from mercurial import (
     error,
     localrepo,
-    match as match_,
+    match as matchmod,
     scmutil,
 )
 
@@ -103,7 +103,7 @@
             parentworking = working and ctx1 == self['.']
 
             if match is None:
-                match = match_.always(self.root, self.getcwd())
+                match = matchmod.always(self.root, self.getcwd())
 
             wlock = None
             try: