D1625: py3: handle keyword arguments correctly in archival.py

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat Dec 9 21:06:17 EST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa274c4b698f2: py3: handle keyword arguments correctly in archival.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1625?vs=4292&id=4305

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

AFFECTED FILES
  mercurial/archival.py

CHANGE DETAILS

diff --git a/mercurial/archival.py b/mercurial/archival.py
--- a/mercurial/archival.py
+++ b/mercurial/archival.py
@@ -126,7 +126,7 @@
         def __init__(self, *args, **kw):
             timestamp = None
             if 'timestamp' in kw:
-                timestamp = kw.pop('timestamp')
+                timestamp = kw.pop(r'timestamp')
             if timestamp is None:
                 self.timestamp = time.time()
             else:



To: pulkit, #hg-reviewers, durin42
Cc: mercurial-devel


More information about the Mercurial-devel mailing list