backtrace while pushing patch queue from windows to linux

Steve Borho steve at
Wed Aug 22 13:31:20 CDT 2007

C:\hg\hg-release\.hg\patches>hg push

pushing to ssh://steve@trixy/tools/mq-win32-hg-plus

searching for changes

** unknown exception encountered, details follow

** report bug details to

** or mercurial at

** Mercurial Distributed SCM (version 6bc09d998af2)

Traceback (most recent call last):

  File "hg", line 25, in <module>

  File "mercurial\dispatch.pyc", line 20, in run

  File "mercurial\dispatch.pyc", line 29, in dispatch

  File "mercurial\dispatch.pyc", line 45, in _runcatch

  File "mercurial\dispatch.pyc", line 348, in _dispatch

  File "mercurial\dispatch.pyc", line 401, in _runcommand

  File "mercurial\dispatch.pyc", line 357, in checkargs

  File "mercurial\dispatch.pyc", line 340, in <lambda>

  File "mercurial\commands.pyc", line 2125, in push

  File "hgext\mq.pyc", line 2072, in push

  File "mercurial\localrepo.pyc", line 1381, in push

  File "mercurial\localrepo.pyc", line 1461, in push_unbundle

  File "mercurial\sshrepo.pyc", line 199, in unbundle

ValueError: invalid literal for int() with base 10: 'diffstat for
e89549c2e8e7 t

o f159b5091958\n'

remote: adding changesets

remote: adding manifests

remote: adding file changes

remote: added 1 changesets with 4 changes to 4 files


The push actually did succeed, so the bug was only cosmetic.


My linux box has the pull-diffstat hook/script enabled, which may be
getting triggered when

I push to it, though I hadn't seen this problem before even though I
push to my linux box fairly frequently.  


The only things different in this case were that I'm pushing from a
patch queue repository, and I've switched from using cygwin ssh to using


Both machines are running the tip of main.




-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Mercurial-devel mailing list