diff -r 8ecbe55fd09d -r 0cb34b3991f8 hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py Wed Jul 23 00:10:24 2014 +0900 +++ b/hgext/largefiles/lfcommands.py Wed Jul 23 00:10:24 2014 +0900 @@ -435,7 +435,8 @@ ui.status(_("%d largefiles failed to download\n") % totalmissing) return totalsuccess, totalmissing -def updatelfiles(ui, repo, filelist=None, printmessage=True): +def updatelfiles(ui, repo, filelist=None, printmessage=True, + normallookup=False): wlock = repo.wlock() try: lfdirstate = lfutil.openlfdirstate(ui, repo) @@ -516,7 +517,7 @@ else: state, mtime = '?', -1 if state == 'n': - if mtime < 0: + if normallookup or mtime < 0: # state 'n' doesn't ensure 'clean' in this case lfdirstate.normallookup(lfile) else: