patchbomb: make variable name for publicurl always be publicurl
authorAugie Fackler <augie@google.com>
Tue, 13 Jun 2017 16:30:11 -0400
changeset 32843 d3b2d4587e73
parent 32842 cb48dfd9672d
child 32844 16ff5c6066a6
patchbomb: make variable name for publicurl always be publicurl
hgext/patchbomb.py
--- a/hgext/patchbomb.py	Wed Jun 14 01:43:47 2017 -0400
+++ b/hgext/patchbomb.py	Tue Jun 13 16:30:11 2017 -0400
@@ -112,10 +112,10 @@
     # experimental config: patchbomb.publicurl
     # waiting for some logic that check that the changeset are available on the
     # destination before patchbombing anything.
-    pullurl = repo.ui.config('patchbomb', 'publicurl')
-    if pullurl is not None:
+    publicurl = repo.ui.config('patchbomb', 'publicurl')
+    if publicurl is not None:
         return ('Available At %s\n'
-                '#              hg pull %s -r %s' % (pullurl, pullurl, ctx))
+                '#              hg pull %s -r %s' % (publicurl, publicurl, ctx))
     return None
 
 def uisetup(ui):