Patchwork D6685: unshelve: changes how date is set on interactive mode

login
register
mail settings
Submitter phabricator
Date July 25, 2019, 12:09 p.m.
Message ID <d7252586bc46febdbc757c98e9f3b565@localhost.localdomain>
Download mbox | patch
Permalink /patch/41067/
State Not Applicable
Headers show

Comments

phabricator - July 25, 2019, 12:09 p.m.
navaneeth.suresh updated this revision to Diff 16063.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6685?vs=16059&id=16063

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6685/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6685

AFFECTED FILES
  mercurial/shelve.py

CHANGE DETAILS




To: navaneeth.suresh, #hg-reviewers
Cc: pulkit, mercurial-devel

Patch

diff --git a/mercurial/shelve.py b/mercurial/shelve.py
--- a/mercurial/shelve.py
+++ b/mercurial/shelve.py
@@ -827,8 +827,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)