Show More
@@ -181,6 +181,8 b' def _process_files(tr, ctx, error=False)' | |||
|
181 | 181 | if is_touched: |
|
182 | 182 | if is_touched == 'added': |
|
183 | 183 | files.mark_added(f) |
|
184 | elif is_touched == 'merged': | |
|
185 | files.mark_merged(f) | |
|
184 | 186 | else: |
|
185 | 187 | files.mark_touched(f) |
|
186 | 188 | m.setflag(f, fctx.flags()) |
@@ -347,7 +349,10 b' def _filecommit(' | |||
|
347 | 349 | text = fctx.data() |
|
348 | 350 | if fparent2 != nullid or meta or flog.cmp(fparent1, text) or force_new_node: |
|
349 | 351 | if touched is None: # do not overwrite added |
|
352 | if fparent2 == nullid: | |
|
350 | 353 | touched = 'modified' |
|
354 | else: | |
|
355 | touched = 'merged' | |
|
351 | 356 | fnode = flog.add(text, meta, tr, linkrev, fparent1, fparent2) |
|
352 | 357 | # are just the flags changed during merge? |
|
353 | 358 | elif fname in manifest1 and manifest1.flags(fname) != fctx.flags(): |
General Comments 0
You need to be logged in to leave comments.
Login now