##// END OF EJS Templates
largefiles: shortcircuit status code also for non-matching patterns...
Martin von Zweigbergk -
r23146:5311de37 default
parent child Browse files
Show More
@@ -102,12 +102,12 b' def reposetup(ui, repo):'
102 except error.LockError:
102 except error.LockError:
103 pass
103 pass
104
104
105 # First check if there were files specified on the
105 # First check if paths or patterns were specified on the
106 # command line. If there were, and none of them were
106 # command line. If there were, and they don't match any
107 # largefiles, we should just bail here and let super
107 # largefiles, we should just bail here and let super
108 # handle it -- thus gaining a big performance boost.
108 # handle it -- thus gaining a big performance boost.
109 lfdirstate = lfutil.openlfdirstate(ui, self)
109 lfdirstate = lfutil.openlfdirstate(ui, self)
110 if match.files() and not match.anypats():
110 if not match.always():
111 for f in lfdirstate:
111 for f in lfdirstate:
112 if match(f):
112 if match(f):
113 break
113 break
General Comments 0
You need to be logged in to leave comments. Login now