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

login
register
mail settings
Submitter phabricator
Date March 4, 2018, 9:13 p.m.
Message ID <differential-rev-PHID-DREV-mc7j6xoryuweikfx7ohu-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/28994/
State Superseded
Headers show

Comments

phabricator - March 4, 2018, 9:13 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  1. skip-blame just an r prefix

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/archival.py

CHANGE DETAILS




To: durin42, #hg-reviewers
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()