##// END OF EJS Templates
largefiles: correctly handle newly added largefile on other side of merge
Na'Tosha Bard -
r15905:634d49a8 default
parent child Browse files
Show More
@@ -379,7 +379,8 b' def cachelfiles(ui, repo, node):'
379 # working copy to have the correct hashvalue. This is because the
379 # working copy to have the correct hashvalue. This is because the
380 # original hg.merge() already updated the standin as part of the normal
380 # original hg.merge() already updated the standin as part of the normal
381 # merge process -- we just have to udpate the largefile to match.
381 # merge process -- we just have to udpate the largefile to match.
382 if getattr(repo, "_ismerging", False):
382 if (getattr(repo, "_ismerging", False) and
383 os.path.exists(repo.wjoin(lfutil.standin(lfile)))):
383 expectedhash = lfutil.readstandin(repo, lfile)
384 expectedhash = lfutil.readstandin(repo, lfile)
384 else:
385 else:
385 expectedhash = repo[node][lfutil.standin(lfile)].data().strip()
386 expectedhash = repo[node][lfutil.standin(lfile)].data().strip()
General Comments 0
You need to be logged in to leave comments. Login now