##// END OF EJS Templates
remotefilelog: fix bug in maybesparsematch returning alwaysmatcher...
Kyle Lippincott -
r41107:517a51d9 default
parent child Browse files
Show More
@@ -143,8 +143,13 b' def wraprepo(repo):'
143 sparse repository.
143 sparse repository.
144 '''
144 '''
145 if revs:
145 if revs:
146 return sparse.matcher(repo, revs=revs)
146 ret = sparse.matcher(repo, revs=revs)
147 return sparse.matcher(repo)
147 else:
148 ret = sparse.matcher(repo)
149
150 if ret.always():
151 return None
152 return ret
148
153
149 def file(self, f):
154 def file(self, f):
150 if f[0] == '/':
155 if f[0] == '/':
General Comments 0
You need to be logged in to leave comments. Login now