##// END OF EJS Templates
py3: use %d instead of %s when formatting an int into a bytestring...
Ian Moody -
r43628:a2ff3aff stable
parent child Browse files
Show More
@@ -1168,7 +1168,7 b' def phabsend(ui, repo, *revs, **opts):'
1168 writediffproperties(unfi[newnode], diffmap[old.node()])
1168 writediffproperties(unfi[newnode], diffmap[old.node()])
1169 except util.urlerr.urlerror:
1169 except util.urlerr.urlerror:
1170 ui.warnnoi18n(
1170 ui.warnnoi18n(
1171 b'Failed to update metadata for D%s\n' % drevid
1171 b'Failed to update metadata for D%d\n' % drevid
1172 )
1172 )
1173 # Remove local tags since it's no longer necessary
1173 # Remove local tags since it's no longer necessary
1174 tagname = b'D%d' % drevid
1174 tagname = b'D%d' % drevid
@@ -1208,7 +1208,7 b' def _confirmbeforesend(repo, revs, oldma'
1208 desc = ctx.description().splitlines()[0]
1208 desc = ctx.description().splitlines()[0]
1209 oldnode, olddiff, drevid = oldmap.get(ctx.node(), (None, None, None))
1209 oldnode, olddiff, drevid = oldmap.get(ctx.node(), (None, None, None))
1210 if drevid:
1210 if drevid:
1211 drevdesc = ui.label(b'D%s' % drevid, b'phabricator.drev')
1211 drevdesc = ui.label(b'D%d' % drevid, b'phabricator.drev')
1212 else:
1212 else:
1213 drevdesc = ui.label(_(b'NEW'), b'phabricator.drev')
1213 drevdesc = ui.label(_(b'NEW'), b'phabricator.drev')
1214
1214
General Comments 0
You need to be logged in to leave comments. Login now