Show More
@@ -113,6 +113,18 b' def reposetup(ui, repo):' | |||||
113 | if match is None: |
|
113 | if match is None: | |
114 | match = match_.always(self.root, self.getcwd()) |
|
114 | match = match_.always(self.root, self.getcwd()) | |
115 |
|
115 | |||
|
116 | # First check if there were files specified on the | |||
|
117 | # command line. If there were, and none of them were | |||
|
118 | # largefiles, we should just bail here and let super | |||
|
119 | # handle it -- thus gaining a big performance boost. | |||
|
120 | lfdirstate = lfutil.openlfdirstate(ui, self) | |||
|
121 | if match.files() and not match.anypats(): | |||
|
122 | matchedfiles = [f for f in match.files() if f in lfdirstate] | |||
|
123 | if not matchedfiles: | |||
|
124 | return super(lfiles_repo, self).status(node1, node2, | |||
|
125 | match, listignored, listclean, | |||
|
126 | listunknown, listsubrepos) | |||
|
127 | ||||
116 | # Create a copy of match that matches standins instead |
|
128 | # Create a copy of match that matches standins instead | |
117 | # of largefiles. |
|
129 | # of largefiles. | |
118 | def tostandin(file): |
|
130 | def tostandin(file): | |
@@ -144,7 +156,6 b' def reposetup(ui, repo):' | |||||
144 | # taken out or lfdirstate.status will report an error. |
|
156 | # taken out or lfdirstate.status will report an error. | |
145 | # The status of these files was already computed using |
|
157 | # The status of these files was already computed using | |
146 | # super's status. |
|
158 | # super's status. | |
147 | lfdirstate = lfutil.openlfdirstate(ui, self) |
|
|||
148 | # Override lfdirstate's ignore matcher to not do |
|
159 | # Override lfdirstate's ignore matcher to not do | |
149 | # anything |
|
160 | # anything | |
150 | orig_ignore = lfdirstate._ignore |
|
161 | orig_ignore = lfdirstate._ignore |
General Comments 0
You need to be logged in to leave comments.
Login now