mercurial/exchange.py
changeset 36453 2831d918e1b4
parent 36452 04c319a07c7b
child 36518 724ddf2444a7
--- a/mercurial/exchange.py	Sun Feb 25 23:08:41 2018 -0500
+++ b/mercurial/exchange.py	Sun Feb 25 23:09:07 2018 -0500
@@ -1151,8 +1151,8 @@
         for newremotehead in outdated:
             r = pushop.remote.pushkey('phases',
                                       newremotehead.hex(),
-                                      str(phases.draft),
-                                      str(phases.public))
+                                      ('%d' % phases.draft),
+                                      ('%d' % phases.public))
             if not r:
                 pushop.ui.warn(_('updating %s to public failed!\n')
                                % newremotehead)