[issue617] TypeError if hgmerge blows up for "hg debuginstall"

Bill Sommerfeld mercurial-bugs at selenic.com
Tue Jul 3 20:01:49 CDT 2007


New submission from Bill Sommerfeld <sommerfeld at sun.com>:

for an (as yet un-root-caused) reason, my $PATH is causing hgmerge to screw up;
this has exposed a bug in an error path in the "debuginstall" tests which causes
it to throw an exception due to a format string mismatch.   

bug appears to be present in 0.9.3 and 0.9.4

See attachment for patch.

% hg debuginstall 
Checking encoding (646)...
Checking extensions...
Checking templates...
Checking patch...
Checking merge helper...
automatic merge failed! Exiting.
merge failed
 got unexpected merge error 256!Traceback (most recent call last):
  File "/usr/bin/hg", line 12, in ?
    commands.run()
  File "/usr/lib/python2.4/commands.py", line 3000, in run
    
  File "/usr/lib/python2.4/commands.py", line 3223, in dispatch
    
  File "/usr/lib/python2.4/commands.py", line 3184, in <lambda>
    
  File "/usr/lib/python2.4/commands.py", line 935, in debuginstall
    
TypeError: not all arguments converted during string formatting

----------
files: format-glitch
messages: 3434
nosy: sommerfeld
priority: bug
status: unread
title: TypeError if hgmerge blows up for "hg debuginstall"

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue617>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: format-glitch
Type: application/octet-stream
Size: 566 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20070704/cc70ebf9/attachment.obj 


More information about the Mercurial-devel mailing list