[PATCH 16 of 17 V2] largefiles: rename match_ to matchmod import in reposetup

liscju piotr.listkiewicz at gmail.com
Thu May 12 06:20:38 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 0d6fa0f79ae3df88f3a429e82647bacbab77d09a
# Parent  84d92a372a88b74d55604a23896eb4adea762cc1
largefiles: rename match_ to matchmod import in reposetup

diff -r 84d92a372a88 -r 0d6fa0f79ae3 hgext/largefiles/reposetup.py
--- 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.i18n import _
 from mercurial import (
     error,
     localrepo,
-    match as match_,
+    match as matchmod,
     scmutil,
 )
 
@@ -104,7 +104,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