Patchwork D7958: lfs: drop an unnecessary r'' prefix

login
register
mail settings
Submitter phabricator
Date Jan. 22, 2020, 3:59 p.m.
Message ID <26cd2e132a906a2da5653f4fd6bc69ae@localhost.localdomain>
Download mbox | patch
Permalink /patch/44571/
State Not Applicable
Headers show

Comments

phabricator - Jan. 22, 2020, 3:59 p.m.
Closed by commit rHG74060f4a9a9e: lfs: drop an unnecessary r&#039;&#039; prefix (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7958?vs=19492&id=19508

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7958/new/

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

AFFECTED FILES
  hgext/lfs/blobstore.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/lfs/blobstore.py b/hgext/lfs/blobstore.py
--- a/hgext/lfs/blobstore.py
+++ b/hgext/lfs/blobstore.py
@@ -491,7 +491,7 @@ 
                     hint=_(b'run hg verify'),
                 )
             request.data = lfsuploadfile(localstore.open(oid))
-            request.get_method = lambda: r'PUT'
+            request.get_method = lambda: 'PUT'
             request.add_header('Content-Type', 'application/octet-stream')
             request.add_header('Content-Length', len(request.data))