[PATCH 1 of 2] py3: use raw string in comparison

Rishabh Madan rishabhmadan96 at gmail.com
Wed Mar 15 05:11:16 EDT 2017


Yes. That works. I'll send it as a different patch.

Thanks!
ᐧ

On Wed, Mar 15, 2017 at 2:17 PM, Pulkit Goyal <7895pulkit at gmail.com> wrote:

>
>
> On Wed, Mar 15, 2017 at 2:52 AM, Rishabh Madan <rishabhmadan96 at gmail.com>
> wrote:
>
>> # HG changeset patch
>> # User Rishabh Madan <rishabhmadan96 at gmail.com>
>> # Date 1489516332 -19800
>> #      Wed Mar 15 00:02:12 2017 +0530
>> # Node ID edfffaa46e84e546decb48107bc303888ee5501d
>> # Parent  37acdf027ae2575e7e280c97889a80f1dbd20e98
>> py3: use raw string in comparison
>>
>> diff -r 37acdf027ae2 -r edfffaa46e84 mercurial/match.py
>> --- a/mercurial/match.py        Sun Mar 12 11:47:02 2017 -0700
>> +++ b/mercurial/match.py        Wed Mar 15 00:02:12 2017 +0530
>> @@ -742,7 +742,7 @@
>>
>>      fp = open(filepath)
>>
>
> ​We should open the file in 'rb' mode here which will fix this.​
>
>
>> _______________________________________________
>> Mercurial-devel mailing list
>> Mercurial-devel at mercurial-scm.org
>> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>>
>
>


-- 
Rishabh Madan
Second Year Undergraduate student
Indian Institute of Technology, Kharagpur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170315/056285c6/attachment.html>


More information about the Mercurial-devel mailing list