equal
deleted
inserted
replaced
110 """ |
110 """ |
111 repo = ctx.repo() |
111 repo = ctx.repo() |
112 # experimental config: patchbomb.publicurl |
112 # experimental config: patchbomb.publicurl |
113 # waiting for some logic that check that the changeset are available on the |
113 # waiting for some logic that check that the changeset are available on the |
114 # destination before patchbombing anything. |
114 # destination before patchbombing anything. |
115 pullurl = repo.ui.config('patchbomb', 'publicurl') |
115 publicurl = repo.ui.config('patchbomb', 'publicurl') |
116 if pullurl is not None: |
116 if publicurl is not None: |
117 return ('Available At %s\n' |
117 return ('Available At %s\n' |
118 '# hg pull %s -r %s' % (pullurl, pullurl, ctx)) |
118 '# hg pull %s -r %s' % (publicurl, publicurl, ctx)) |
119 return None |
119 return None |
120 |
120 |
121 def uisetup(ui): |
121 def uisetup(ui): |
122 cmdutil.extraexport.append('pullurl') |
122 cmdutil.extraexport.append('pullurl') |
123 cmdutil.extraexportmap['pullurl'] = _addpullheader |
123 cmdutil.extraexportmap['pullurl'] = _addpullheader |