# HG changeset patch # User Augie Fackler # Date 1497385811 14400 # Node ID d3b2d4587e730883b02e60c997fb9f37f79d7217 # Parent cb48dfd9672ddb5cd6c816be28aee93ea1afb237 patchbomb: make variable name for publicurl always be publicurl diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py --- a/hgext/patchbomb.py +++ b/hgext/patchbomb.py @@ -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):