[issue427] http push fails on types.split

Armando Singer mercurial-bugs at selenic.com
Tue Nov 21 16:39:30 CST 2006


New submission from Armando Singer <armando.singer at gmail.com>:

The latest change to httprepo.py (f4dc02d7fb71) gives an error when
pushing to an http repo:
 
http://www.selenic.com/hg/diff/f4dc02d7fb71/mercurial/httprepo.py
 
(This was the last change to this file in crew as well)
 
$ hg push
pushing to http://fs1:8000/prod
searching for changes
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 975c2469c316)
Traceback (most recent call last):
 File "/usr/bin/hg", line 12, in ?
   commands.run()
 File "/usr/lib64/python2.4/site-packages/mercurial/commands.py",
line 2741, in run
   sys.exit(dispatch(sys.argv[1:]))
 File "/usr/lib64/python2.4/site-packages/mercurial/commands.py",
line 2964, in dispatch
   return d()
 File "/usr/lib64/python2.4/site-packages/mercurial/commands.py",
line 2923, in <lambda>
   d = lambda: func(u, repo, *args, **cmdoptions)
 File "/usr/lib64/python2.4/site-packages/mercurial/commands.py",
line 1739, in push
   r = repo.push(other, opts['force'], revs=revs)
 File "/usr/lib64/python2.4/site-packages/hgext/mq.py", line 1992, in push
   return super(mqrepo, self).push(remote, force, revs)
 File "/usr/lib64/python2.4/site-packages/mercurial/localrepo.py",
line 1294, in push
   return self.push_unbundle(remote, force, revs)
 File "/usr/lib64/python2.4/site-packages/mercurial/localrepo.py",
line 1372, in push_unbundle
   return remote.unbundle(cg, remote_heads, 'push')
 File "/usr/lib64/python2.4/site-packages/mercurial/httprepo.py",
line 332, in unbundle
   for x in types.split(','):
AttributeError: 'bool' object has no attribute 'split'

----------
messages: 2404
nosy: asinger
priority: bug
status: unread
title: http push fails on types.split

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue427>
____________________________________________________



More information about the Mercurial-devel mailing list