hgext/patchbomb.py
changeset 28907 66e647312d30
parent 28861 86db5cb55d46
child 28981 7b188bc23942
equal deleted inserted replaced
28906:ac1bb8ca6d39 28907:66e647312d30
   568                     msg = _('public "%s" is missing %s and %i others')
   568                     msg = _('public "%s" is missing %s and %i others')
   569                     msg %= (publicurl, missing[0], len(missing) - 1)
   569                     msg %= (publicurl, missing[0], len(missing) - 1)
   570                 else:
   570                 else:
   571                     msg = _('public url %s is missing %s')
   571                     msg = _('public url %s is missing %s')
   572                     msg %= (publicurl, missing[0])
   572                     msg %= (publicurl, missing[0])
   573                 revhint = ''.join('-r %s' % h
   573                 revhint = ' '.join('-r %s' % h
   574                                   for h in repo.set('heads(%ld)', missing))
   574                                   for h in repo.set('heads(%ld)', missing))
   575                 hint = _('use "hg push %s %s"') % (publicurl, revhint)
   575                 hint = _('use "hg push %s %s"') % (publicurl, revhint)
   576                 raise error.Abort(msg, hint=hint)
   576                 raise error.Abort(msg, hint=hint)
   577 
   577 
   578     # start
   578     # start