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

login
register
mail settings
Submitter phabricator
Date March 4, 2018, 9:44 p.m.
Message ID <105088a3dd3651ab2f7aa19114e1db49@localhost.localdomain>
Download mbox | patch
Permalink /patch/29009/
State Not Applicable
Headers show

Comments

phabricator - March 4, 2018, 9:44 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG009da8c28e4d: archival: fix a missing r&#039;&#039; 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




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

Patch

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()