##// END OF EJS Templates
largefiles: omit updating newly added standin at linear merging...
FUJIWARA Katsunori -
r31653:32d998dc default
parent child Browse files
Show More
@@ -1397,6 +1397,7 def mergeupdate(orig, repo, node, branch
1397 1397 [], False, True, False)
1398 1398 oldclean = set(s.clean)
1399 1399 pctx = repo['.']
1400 dctx = repo[node]
1400 1401 for lfile in unsure + s.modified:
1401 1402 lfileabs = repo.wvfs.join(lfile)
1402 1403 if not repo.wvfs.exists(lfileabs):
@@ -1409,7 +1410,12 def mergeupdate(orig, repo, node, branch
1409 1410 lfhash == lfutil.readstandin(repo, lfile, pctx)):
1410 1411 oldclean.add(lfile)
1411 1412 for lfile in s.added:
1412 lfutil.updatestandin(repo, lfutil.standin(lfile))
1413 fstandin = lfutil.standin(lfile)
1414 if fstandin not in dctx:
1415 # in this case, content of standin file is meaningless
1416 # (in dctx, lfile is unknown, or normal file)
1417 continue
1418 lfutil.updatestandin(repo, fstandin)
1413 1419 # mark all clean largefiles as dirty, just in case the update gets
1414 1420 # interrupted before largefiles and lfdirstate are synchronized
1415 1421 for lfile in oldclean:
General Comments 0
You need to be logged in to leave comments. Login now