changeset 32824:d3b2d4587e73

patchbomb: make variable name for publicurl always be publicurl
author Augie Fackler <augie@google.com>
date Tue, 13 Jun 2017 16:30:11 -0400
parents cb48dfd9672d
children 16ff5c6066a6
files hgext/patchbomb.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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):