changeset 23657 | 95f238cafb32 |
parent 23543 | 4dd8a6a1240d |
child 23892 | f2b6f37d537b |
--- a/hgext/largefiles/lfutil.py Thu Dec 18 09:22:09 2014 -0800 +++ b/hgext/largefiles/lfutil.py Wed Dec 17 21:51:09 2014 -0500 @@ -422,7 +422,14 @@ def getlfilestoupload(repo, missing, addfunc): for n in missing: parents = [p for p in repo.changelog.parents(n) if p != node.nullid] - ctx = repo[n] + + oldlfstatus = repo.lfstatus + repo.lfstatus = False + try: + ctx = repo[n] + finally: + repo.lfstatus = oldlfstatus + files = set(ctx.files()) if len(parents) == 2: mc = ctx.manifest()