hg log bug

Matt Mackall mpm at selenic.com
Mon Aug 22 14:29:45 CDT 2005


On Mon, Aug 22, 2005 at 06:38:22PM +0400, Dmitriy Nikitinskiy wrote:
> Hi All.
> I have bug in lastest mercurial.
> (But 0.6b working)
> 
> [nick at nick xmlapps]$ hg verify
> checking changesets
> checking manifests
> crosschecking files in changesets and manifests
> checking files
> 110 files, 346 changesets, 808 total revisions
> [nick at nick xmlapps]$ hg version
> Mercurial Distributed SCM (version f859e9cba1b9)
> 
> Copyright (C) 2005 Matt Mackall <mpm at selenic.com>
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> [nick at nick xmlapps]$ hg log
> Traceback (most recent call last):
>   File "/usr/local/bin/hg", line 13, in ?
>     commands.run()
>   File "/usr/local/lib/python2.3/site-packages/mercurial/commands.py", 
> line 1465, in run
>     sys.exit(dispatch(sys.argv[1:]))
>   File "/usr/local/lib/python2.3/site-packages/mercurial/commands.py", 
> line 1575, in dispatch
>     return d()
>   File "/usr/local/lib/python2.3/site-packages/mercurial/commands.py", 
> line 1560, in <lambda>
>     d = lambda: func(u, repo, *args, **cmdoptions)
>   File "/usr/local/lib/python2.3/site-packages/mercurial/commands.py", 
> line 857, in log
>     show_changeset(ui, repo, filelog=filelog, rev=i)
>   File "/usr/local/lib/python2.3/site-packages/mercurial/commands.py", 
> line 219, in show_changeset
>     t, tz = changes[2].split(' ')
> ValueError: unpack list of wrong size

Something stored a date in your repo of the wrong format. Did you use
a conversion tool? At least one version of tailor was known to do
this. Please add a line:

  print "The date stored is '%s'" % changes[2]

immediately above line 219 in mercurial commands.py and send me the
output.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list