atom feed8 messages in com.selenic.mercurialhg convert: local variable 'tz' refer...
FromSent OnAttachments
jdDec 28, 2009 10:40 am 
Patrick MézardDec 28, 2009 11:37 am 
jdDec 28, 2009 11:50 am 
jdDec 28, 2009 1:14 pm 
Patrick MézardDec 28, 2009 1:29 pm 
jdDec 28, 2009 1:40 pm 
Patrick MézardDec 29, 2009 3:31 am 
jdDec 29, 2009 11:01 am 
Subject:hg convert: local variable 'tz' referenced before assignment
From:jd (
Date:Dec 28, 2009 10:40:35 am

Just installed TortoiseHg and I'm trying to convert a git repository. hg convert says "scanning source..." and then quickly prints out an exception with the message: local variable 'tz' referenced before assignment I was hoping to be able to just use Mercurial, not to debug it. Help!

Here's the full trace.

** Mercurial Distributed SCM (version 1.4.1) ** Extensions loaded: extdiff, convert Traceback (most recent call last): File "hg", line 36, in <module> File "mercurial\dispatch.pyo", line 16, in run File "mercurial\dispatch.pyo", line 30, in dispatch File "mercurial\dispatch.pyo", line 46, in _runcatch File "mercurial\dispatch.pyo", line 449, in _dispatch File "mercurial\dispatch.pyo", line 319, in runcommand File "mercurial\dispatch.pyo", line 500, in _runcommand File "mercurial\dispatch.pyo", line 454, in checkargs File "mercurial\dispatch.pyo", line 448, in <lambda> File "mercurial\util.pyo", line 386, in check File "hgext\convert\__init__.pyo", line 229, in convert File "hgext\convert\convcmd.pyo", line 398, in convert File "hgext\convert\convcmd.pyo", line 312, in convert File "hgext\convert\convcmd.pyo", line 109, in walktree File "hgext\convert\convcmd.pyo", line 267, in cachecommit File "hgext\convert\git.pyo", line 112, in getcommit UnboundLocalError: local variable 'tz' referenced before assignment