unshelve: changes how date is set on interactive mode
On an interactive unshelve, the remaining changes are shelved again
for later. This patch modifies the date of remaining shelved change
to the time of interactive shelve.
Differential Revision: https://phab.mercurial-scm.org/D6685
--- a/mercurial/shelve.py Wed Jul 24 09:06:25 2019 +0530
+++ b/mercurial/shelve.py Wed Jul 24 18:10:50 2019 +0530
@@ -835,8 +835,7 @@
**pycompat.strkwargs(opts))
snode = repo.commit(text=shelvectx.description(),
extra=shelvectx.extra(),
- user=shelvectx.user(),
- date=shelvectx.date())
+ user=shelvectx.user())
m = scmutil.matchfiles(repo, repo[snode].files())
if snode:
_shelvecreatedcommit(repo, snode, basename, m)