Can't commit

Giuseppe Bilotta bilotta78 at hotpop.com
Tue Jun 28 15:25:36 UTC 2005


On Tue, 28 Jun 2005 15:15:21 +0200, Giuseppe Bilotta wrote:

> So what I did (after upgrading to the latest snapshot) was doing a
> fresh checkout of hg's own repository (mkdir hg && cd hg && hg init
> http://selenic.com/hg && hg co), then changed a file (hg), so that
> 
> hg status
> 
> reports
> 
> C hg
> 
> then I try
> 
> hg ci -t "Fix the Windows path problem"
> 
> and get this traceback:
> 
> Traceback (most recent call last):
>   File "c:\tools\mercurial\hg", line 17, in ?
>     commands.run()
>   File "C:\langs\Python24\Lib\site-packages\mercurial\commands.py", line 808, in
>  run
>     sys.exit(dispatch(sys.argv[1:]))
>   File "C:\langs\Python24\Lib\site-packages\mercurial\commands.py", line 870, in
>  dispatch
>     return d()
>   File "C:\langs\Python24\Lib\site-packages\mercurial\commands.py", line 855, in
>  <lambda>
>     d = lambda: i[0](u, repo, *args, **cmdoptions)
>   File "C:\langs\Python24\Lib\site-packages\mercurial\commands.py", line 331, in
>  commit
>     repo.commit(relpath(repo, files), text, opts['user'], opts['date'])
>   File "C:\langs\Python24\Lib\site-packages\mercurial\hg.py", line 589, in commi
> t
>     tr = self.transaction()
>   File "C:\langs\Python24\Lib\site-packages\mercurial\hg.py", line 483, in trans
> action
>     self.join("undo"))
>   File "C:\langs\Python24\Lib\site-packages\mercurial\transaction.py", line 23,
> in __init__
>     raise "journal already exists - run hg recover"
> journal already exists - run hg recover
> Exception exceptions.AttributeError: "transaction instance has no attribute 'ent
> ries'" in <bound method transaction.__del__ of <mercurial.transaction.transactio
> n instance at 0x00A6B9B8>> ignored
> 
> What could the problem be?

Ok, this doesn't happen if I do hg clone instead hg init. What's the
difference? (I couldn't find hg clone in the doc ...)

-- 
Giuseppe "Oblomov" Bilotta

"I'm never quite so stupid
 as when I'm being smart" --Linus van Pelt




More information about the Mercurial mailing list