##// END OF EJS Templates
largefiles: ensure lfutil.getstandinmatcher() only matches standins...
Matt Harbison -
r26025:ba808943 stable
parent child Browse files
Show More
@@ -247,6 +247,8 b' def getstandinmatcher(repo, rmatcher=Non'
247 247
248 248 if rmatcher and not rmatcher.always():
249 249 pats = [os.path.join(standindir, pat) for pat in rmatcher.files()]
250 if not pats:
251 pats = [standindir]
250 252 match = scmutil.match(repo[None], pats, badfn=badfn)
251 253 # if pats is empty, it would incorrectly always match, so clear _always
252 254 match._always = False
@@ -505,4 +505,8 b' into the hook command.'
505 505 1:9599899f62c0 a
506 506 0:79b99e9c8e49 b
507 507
508 $ echo "foo" > amended.txt
509 $ hg add amended.txt
510 $ hg ci -q --config extensions.largefiles= --amend -I amended.txt
511
508 512 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now