diff hgext/patchbomb.py @ 28907:66e647312d30

patchbomb: fix public-is-missing hint Without this, there is no space between a hash and the -r preceding the next line in the use hg push hint
author timeless <timeless@mozdev.org>
date Thu, 14 Apr 2016 14:26:37 +0000
parents 86db5cb55d46
children 7b188bc23942
line wrap: on
line diff
--- a/hgext/patchbomb.py	Thu Apr 14 14:36:52 2016 +0000
+++ b/hgext/patchbomb.py	Thu Apr 14 14:26:37 2016 +0000
@@ -570,7 +570,7 @@
                 else:
                     msg = _('public url %s is missing %s')
                     msg %= (publicurl, missing[0])
-                revhint = ''.join('-r %s' % h
+                revhint = ' '.join('-r %s' % h
                                   for h in repo.set('heads(%ld)', missing))
                 hint = _('use "hg push %s %s"') % (publicurl, revhint)
                 raise error.Abort(msg, hint=hint)