hgext3rd/evolve/obsexchange.py
changeset 4714 c51fc0ae7a7e
parent 4405 8b91088944ca
child 4803 88472e743c64
equal deleted inserted replaced
4713:fbe7f35a6926 4714:c51fc0ae7a7e
   219         wireprototypes.pushres # force demandimport
   219         wireprototypes.pushres # force demandimport
   220     except (ImportError, AttributeError):
   220     except (ImportError, AttributeError):
   221         from mercurial import wireproto as wireprototypes
   221         from mercurial import wireproto as wireprototypes
   222         wireprotov1server = wireprototypes
   222         wireprotov1server = wireprototypes
   223     opts = wireprotov1server.options('', ['heads', 'common'], others)
   223     opts = wireprotov1server.options('', ['heads', 'common'], others)
   224     for k, v in opts.iteritems():
   224     for k, v in opts.items():
   225         if k in ('heads', 'common'):
   225         if k in ('heads', 'common'):
   226             opts[k] = wireprototypes.decodelist(v)
   226             opts[k] = wireprototypes.decodelist(v)
   227     obsdata = _getobsmarkersstream(repo, **opts)
   227     obsdata = _getobsmarkersstream(repo, **opts)
   228     finaldata = StringIO()
   228     finaldata = StringIO()
   229     obsdata = obsdata.getvalue()
   229     obsdata = obsdata.getvalue()