equal
deleted
inserted
replaced
734 with repo.wlock(): |
734 with repo.wlock(): |
735 lfdirstate = lfutil.openlfdirstate(ui, repo) |
735 lfdirstate = lfutil.openlfdirstate(ui, repo) |
736 s = lfutil.lfdirstatestatus(lfdirstate, repo) |
736 s = lfutil.lfdirstatestatus(lfdirstate, repo) |
737 lfdirstate.write() |
737 lfdirstate.write() |
738 for lfile in s.modified: |
738 for lfile in s.modified: |
739 lfutil.updatestandin(repo, lfutil.standin(lfile)) |
739 lfutil.updatestandin(repo, lfile, lfutil.standin(lfile)) |
740 for lfile in s.deleted: |
740 for lfile in s.deleted: |
741 fstandin = lfutil.standin(lfile) |
741 fstandin = lfutil.standin(lfile) |
742 if (repo.wvfs.exists(fstandin)): |
742 if (repo.wvfs.exists(fstandin)): |
743 repo.wvfs.unlink(fstandin) |
743 repo.wvfs.unlink(fstandin) |
744 |
744 |
1415 fstandin = lfutil.standin(lfile) |
1415 fstandin = lfutil.standin(lfile) |
1416 if fstandin not in dctx: |
1416 if fstandin not in dctx: |
1417 # in this case, content of standin file is meaningless |
1417 # in this case, content of standin file is meaningless |
1418 # (in dctx, lfile is unknown, or normal file) |
1418 # (in dctx, lfile is unknown, or normal file) |
1419 continue |
1419 continue |
1420 lfutil.updatestandin(repo, fstandin) |
1420 lfutil.updatestandin(repo, lfile, fstandin) |
1421 # mark all clean largefiles as dirty, just in case the update gets |
1421 # mark all clean largefiles as dirty, just in case the update gets |
1422 # interrupted before largefiles and lfdirstate are synchronized |
1422 # interrupted before largefiles and lfdirstate are synchronized |
1423 for lfile in oldclean: |
1423 for lfile in oldclean: |
1424 lfdirstate.normallookup(lfile) |
1424 lfdirstate.normallookup(lfile) |
1425 lfdirstate.write() |
1425 lfdirstate.write() |