D2606: largefiles: headers and values need to be sysstrs, add r prefixes

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sat Mar 3 15:55:13 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5c4c9eb1feb6: largefiles: headers and values need to be sysstrs, add r prefixes (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2606?vs=6477&id=6479

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

AFFECTED FILES
  hgext/largefiles/proto.py

CHANGE DETAILS

diff --git a/hgext/largefiles/proto.py b/hgext/largefiles/proto.py
--- a/hgext/largefiles/proto.py
+++ b/hgext/largefiles/proto.py
@@ -97,7 +97,7 @@
             # it ...
             if issubclass(self.__class__, httppeer.httppeer):
                 res = self._call('putlfile', data=fd, sha=sha,
-                    headers={'content-type':'application/mercurial-0.1'})
+                    headers={r'content-type': r'application/mercurial-0.1'})
                 try:
                     d, output = res.split('\n', 1)
                     for l in output.splitlines(True):



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


More information about the Mercurial-devel mailing list