comparison mercurial/templatefilters.py @ 20415:e4d7cbc94219 stable

merge: don't overwrite file untracked after remove, abort with 'untracked files' Merge could overwrite untracked files and cause data loss. Instead we now handle the 'local side removed file and has untracked file instead' case as the 'other side added file that local has untracked' case: FILE: untracked file exists abort: untracked files in working directory differ from files in requested revision It could perhaps make sense to create .orig files when overwriting, either instead of aborting or when overwriting anyway because of force ... but for now we stay consistent with similar cases.
author Mads Kiilerich <madski@unity3d.com>
date Mon, 10 Feb 2014 00:43:54 +0100
parents e828975722c8
children cce404b0c918 829f2dd99f5c
comparison
equal deleted inserted replaced
20357:6863d42eb59a 20415:e4d7cbc94219