[PATCH 15 of 16 V3] largefiles: rename match_ to matchmod import in reposetup

liscju piotr.listkiewicz at gmail.com
Sat Jun 4 11:23:41 EDT 2016


# HG changeset patch
# User liscju <piotr.listkiewicz at gmail.com>
# Date 1463046563 -7200
#      Thu May 12 11:49:23 2016 +0200
# Node ID ea49abffbda9f854e04c1e9c4085f144a9a427e7
# Parent  02b2065a29dca5c730f7b908b6cafc985e1fc7c9
largefiles: rename match_ to matchmod import in reposetup

diff --git a/hgext/largefiles/reposetup.py b/hgext/largefiles/reposetup.py
--- a/hgext/largefiles/reposetup.py
+++ b/hgext/largefiles/reposetup.py
@@ -16,7 +16,7 @@ from mercurial.i18n import _
 from mercurial import (
     error,
     localrepo,
-    match as match_,
+    match as matchmod,
     scmutil,
 )
 
@@ -103,7 +103,7 @@ def reposetup(ui, repo):
             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:


More information about the Mercurial-devel mailing list