Patchwork [1,of,3] pycompat: remove multiple occurences of urlencode

login
register
mail settings
Submitter Pulkit Goyal
Date Aug. 13, 2016, 12:38 a.m.
Message ID <a200a82b16b7f7351093.1471048704@pulkit-goyal>
Download mbox | patch
Permalink /patch/16265/
State Accepted
Headers show

Comments

Pulkit Goyal - Aug. 13, 2016, 12:38 a.m.
# HG changeset patch
# User Pulkit Goyal <7895pulkit@gmail.com>
# Date 1471037581 -19800
#      Sat Aug 13 03:03:01 2016 +0530
# Node ID a200a82b16b7f73510930271dcca0e0691e14e69
# Parent  f2241c13d5a1100f44278496fe58c05d364b97f8
pycompat: remove multiple occurences of urlencode

By mistake we had two occurences of urlencode.
Yuya Nishihara - Aug. 14, 2016, 2:32 a.m.
On Sat, 13 Aug 2016 06:08:24 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit@gmail.com>
> # Date 1471037581 -19800
> #      Sat Aug 13 03:03:01 2016 +0530
> # Node ID a200a82b16b7f73510930271dcca0e0691e14e69
> # Parent  f2241c13d5a1100f44278496fe58c05d364b97f8
> pycompat: remove multiple occurences of urlencode
> 
> By mistake we had two occurences of urlencode.

Sure, queued this and the next patch, thanks.

Patch

diff -r f2241c13d5a1 -r a200a82b16b7 mercurial/pycompat.py
--- a/mercurial/pycompat.py	Tue Aug 09 09:15:46 2016 -0700
+++ b/mercurial/pycompat.py	Sat Aug 13 03:03:01 2016 +0530
@@ -71,7 +71,6 @@ 
         "unquote",
         "url2pathname",
         "urlencode",
-        "urlencode",
     ))
     _alias(urlreq, urllib2, (
         "AbstractHTTPHandler",