mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
a43eb5afaf
Summary: If you have an untracked file and you `hg update` to a commit that has that file in the tracked state, then the contents of the untracked version should be ignored, as they are replaced with the contents of the file in the commit you are updating to. The untracked version should be backed up as specified by `ui.origbackuppath`. Previously, our code in `eden/hg/eden/__init__.py` mapped this to a merge action named `c`, but we did not include that in our set of `actions`, so we were getting a `KeyError` if you exercised this code path. I discovered this while trying to reproduce the issue that I fixed in D6199215. Reviewed By: simpkins Differential Revision: D6204916 fbshipit-source-id: b70153428291bda9a8853a37c0955ad7cb3bd89d |
||
---|---|---|
.. | ||
hg | ||
lib | ||
basic_test.py | ||
clone_test.py | ||
debug_getpath_test.py | ||
health_test.py | ||
help_test.py | ||
hypothesis_simple_test.py | ||
info_test.py | ||
materialized_query_test.py | ||
oexcl_test.py | ||
rc_test.py | ||
remount_test.py | ||
rename_test.py | ||
repo_test.py | ||
sed_test.py | ||
setattr_test.py | ||
TARGETS | ||
thrift_test.py | ||
unixsocket_test.py | ||
unlink_test.py | ||
xattr_test.py |