##// END OF EJS Templates
commit: move salvaged calculation a bit earlier in the function...
Pulkit Goyal -
r46298:b92887ce default
parent child Browse files
Show More
@@ -114,6 +114,8 b' def _prepare_files(tr, ctx, error=False,'
114 p1 = ctx.p1()
114 p1 = ctx.p1()
115
115
116 writechangesetcopy, writefilecopymeta = _write_copy_meta(repo)
116 writechangesetcopy, writefilecopymeta = _write_copy_meta(repo)
117 ms = mergestate.mergestate.read(repo)
118 salvaged = _get_salvaged(repo, ms, ctx)
117
119
118 if ctx.manifestnode():
120 if ctx.manifestnode():
119 # reuse an existing manifest revision
121 # reuse an existing manifest revision
@@ -140,8 +142,6 b' def _prepare_files(tr, ctx, error=False,'
140 files.update_copies_from_p1(ctx.p1copies())
142 files.update_copies_from_p1(ctx.p1copies())
141 files.update_copies_from_p2(ctx.p2copies())
143 files.update_copies_from_p2(ctx.p2copies())
142
144
143 ms = mergestate.mergestate.read(repo)
144 salvaged = _get_salvaged(ctx.repo(), ms, ctx)
145 for s in salvaged:
145 for s in salvaged:
146 files.mark_salvaged(s)
146 files.mark_salvaged(s)
147
147
General Comments 0
You need to be logged in to leave comments. Login now