hg pull \ ... \ TypeError: Odd-length string

Steve - Gadget Barnes gadgetsteve at hotmail.com
Mon Jun 19 05:44:13 UTC 2017



On 18/06/2017 04:40, Ben Abbott wrote:
> I usually pull from the US, and have no trouble. Since traveling to Singapore, my pull requests usually fail (see below).I’ve tried different WLANs, but that didn’t improve the problem. Some days are better than others, but its now been several days since I was able to make a successful pull.
> 
> Ben
> 
<<< SNIP >>>
>      _pullapplyphases(pullop, remotephases)
>    File "/sw/lib/python2.7/site-packages/mercurial/exchange.py", line 1457, in _pullapplyphases
>      remotephases)
>    File "/sw/lib/python2.7/site-packages/mercurial/phases.py", line 436, in analyzeremotephases
>      node = bin(nhex)
> TypeError: Odd-length string
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
> 

It is possible that someone has somehow managed to add a corrupted 
commit to the repository. Is anybody else having problems?

You could try to see if the problem is a specific commit by using: hg 
incoming to get a list of the potential downloads followed by 
sequentially pulling the individual commits with hg pull -r X with X as 
the listed commit ID once for each listed commit in oldest to newest order.

-- 
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect 
those of my employer.

---
This email has been checked for viruses by AVG.
http://www.avg.com



More information about the Mercurial mailing list