equal
deleted
inserted
replaced
517 elif not branchmerge: |
517 elif not branchmerge: |
518 mresult.removefile(f) # just updating, ignore changes outside clone |
518 mresult.removefile(f) # just updating, ignore changes outside clone |
519 elif action[0].no_op: |
519 elif action[0].no_op: |
520 mresult.removefile(f) # merge does not affect file |
520 mresult.removefile(f) # merge does not affect file |
521 elif action[0].narrow_safe: |
521 elif action[0].narrow_safe: |
522 if ( |
522 if not f.endswith(b'/'): |
523 not f.endswith(b'/') |
|
524 and action[0].changes == mergestatemod.CHANGE_MODIFIED |
|
525 ): |
|
526 mresult.removefile(f) # merge won't affect on-disk files |
523 mresult.removefile(f) # merge won't affect on-disk files |
527 |
524 |
528 mresult.addcommitinfo( |
525 mresult.addcommitinfo( |
529 f, b'outside-narrow-merge-action', action[0].changes |
526 f, b'outside-narrow-merge-action', action[0].changes |
530 ) |
527 ) |