D2671: archival: fix a missing r'' on a kwargs check

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sun Mar 4 16:44:05 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG009da8c28e4d: archival: fix a missing r'' on a kwargs check (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2671?vs=6614&id=6623

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

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
@@ -125,7 +125,7 @@
 
         def __init__(self, *args, **kw):
             timestamp = None
-            if 'timestamp' in kw:
+            if r'timestamp' in kw:
                 timestamp = kw.pop(r'timestamp')
             if timestamp is None:
                 self.timestamp = time.time()



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


More information about the Mercurial-devel mailing list