hgext/evolve.py
changeset 942 010c7e4aa820
parent 941 576d3a198269
child 944 b71b563b17de
equal deleted inserted replaced
941:576d3a198269 942:010c7e4aa820
  2263                            % len(obsdata.getvalue()))
  2263                            % len(obsdata.getvalue()))
  2264             remote.evoext_pushobsmarkers_0(obsdata)
  2264             remote.evoext_pushobsmarkers_0(obsdata)
  2265             repo.ui.progress('OBSEXC', None)
  2265             repo.ui.progress('OBSEXC', None)
  2266         else:
  2266         else:
  2267             rslts = []
  2267             rslts = []
  2268             repo.ui.status("OBSEXC: encoding %i markers\n" % len(markers))
  2268             repo.ui.status("OBSEXC: pushing %i markers\n" % len(markers))
  2269             remotedata = _pushkeyescape(markers).items()
  2269             remotedata = _pushkeyescape(markers).items()
  2270             totalbytes = sum(len(d) for k,d in remotedata)
  2270             totalbytes = sum(len(d) for k,d in remotedata)
  2271             sentbytes = 0
  2271             sentbytes = 0
  2272             repo.ui.status("OBSEXC: sending %i pushkey payload (%i bytes)\n"
  2272             repo.ui.status("OBSEXC: sending %i pushkey payload (%i bytes)\n"
  2273                             % (len(remotedata), totalbytes))
  2273                             % (len(remotedata), totalbytes))