##// END OF EJS Templates
largefiles: the update override only needs lfdirstate and status for --check
Mads Kiilerich -
r23040:46c5983c default
parent child Browse files
Show More
@@ -351,11 +351,12 b' def overrideupdate(orig, ui, repo, *pats'
351 # largefiles getting updated
351 # largefiles getting updated
352 wlock = repo.wlock()
352 wlock = repo.wlock()
353 try:
353 try:
354 lfdirstate = lfutil.openlfdirstate(ui, repo)
354 if opts['check']:
355 unsure, s = lfdirstate.status(match_.always(repo.root, repo.getcwd()),
355 lfdirstate = lfutil.openlfdirstate(ui, repo)
356 [], False, False, False)
356 unsure, s = lfdirstate.status(
357 match_.always(repo.root, repo.getcwd()),
358 [], False, False, False)
357
359
358 if opts['check']:
359 mod = len(s.modified) > 0
360 mod = len(s.modified) > 0
360 for lfile in unsure:
361 for lfile in unsure:
361 standin = lfutil.standin(lfile)
362 standin = lfutil.standin(lfile)
General Comments 0
You need to be logged in to leave comments. Login now