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

login
register
mail settings
Submitter phabricator
Date July 24, 2019, 6:19 p.m.
Message ID <47bb763f3262d857f61c04467a9ff191@localhost.localdomain>
Download mbox | patch
Permalink /patch/41063/
State Not Applicable
Headers show

Comments

phabricator - July 24, 2019, 6:19 p.m.
navaneeth.suresh updated this revision to Diff 16059.

REPOSITORY
  rHG Mercurial

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

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
@@ -828,7 +828,7 @@ 
     snode = repo.commit(text=shelvectx.description(),
                         extra=shelvectx.extra(),
                         user=shelvectx.user(),
-                        date=shelvectx.date())
+                        date=dateutil.makedate())
     m = scmutil.matchfiles(repo, repo[snode].files())
     if snode:
         _shelvecreatedcommit(repo, snode, basename, m)