##// END OF EJS Templates
largefiles: fix addremove when largefile is missing (issue3227)
Na'Tosha Bard -
r16731:dcfc70aa default
parent child Browse files
Show More
@@ -169,6 +169,8 b' def removelargefiles(ui, repo, *pats, **'
169 169 # function handle this.
170 170 if not getattr(repo, "_isaddremove", False):
171 171 lfutil.reporemove(repo, remove, unlink=True)
172 else:
173 lfutil.reporemove(repo, remove, unlink=False)
172 174 finally:
173 175 wlock.release()
174 176
@@ -340,8 +340,9 b' def reposetup(ui, repo):'
340 340 lfdirstate.normal(lfile)
341 341 for lfile in lfdirstate:
342 342 if lfile in modifiedfiles:
343 if not os.path.exists(
344 repo.wjoin(lfutil.standin(lfile))):
343 if (not os.path.exists(repo.wjoin(
344 lfutil.standin(lfile)))) or \
345 (not os.path.exists(repo.wjoin(lfile))):
345 346 lfdirstate.drop(lfile)
346 347
347 348 result = orig(text=text, user=user, date=date, match=match,
General Comments 0
You need to be logged in to leave comments. Login now