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

login
register
mail settings
Submitter phabricator
Date Jan. 21, 2020, 6:37 p.m.
Message ID <differential-rev-PHID-DREV-li2vnsj26m6teoyidi7d-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44555/
State Superseded
Headers show

Comments

phabricator - Jan. 21, 2020, 6:37 p.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  No longer necessary since the source transformer was removed.
  
  1. skip-blame for changing string prefixes

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/lfs/blobstore.py

CHANGE DETAILS




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