diff mercurial/hg.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 7d269e7620c4
children 49f2d5644f04 dda11e799529
line wrap: on
line diff