[issue2597] UnboundLocalError: local variable 'fd' referenced before assignment
Trenton Henry
bugs at mercurial.selenic.com
Thu Jan 20 16:14:31 UTC 2011
New submission from Trenton Henry <trhenry at silabs.com>:
client machine os: win7
client side clone of repository is on a mapped network drive.
target repository for 'push' is in the cloud.
here is a transcript of the error:
M:\PRIVATE\tbh\src\si32>hg add
adding <mypath/myfile>.c
adding <mypath/myfile>.h
M:\PRIVATE\tbh\src\si32>hg commit
note: commit message saved in .hg\last-message.txt
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 b
** Mercurial Distributed SCM (version 1.7.2)
** Extensions loaded: fixfrozenexts, fetch, gestalt, kilnauth, kilnp
Traceback (most recent call last):
File "hg", line 36, in <module>
File "mercurial\dispatch.pyo", line 16, in run
File "mercurial\dispatch.pyo", line 36, in dispatch
File "mercurial\dispatch.pyo", line 58, in _runcatch
File "mercurial\dispatch.pyo", line 590, in _dispatch
File "mercurial\dispatch.pyo", line 401, in runcommand
File "mercurial\dispatch.pyo", line 641, in _runcommand
File "mercurial\dispatch.pyo", line 595, in checkargs
File "mercurial\dispatch.pyo", line 588, in <lambda>
File "mercurial\util.pyo", line 427, in check
File "mercurial\commands.pyo", line 780, in commit
File "mercurial\cmdutil.pyo", line 1333, in commit
File "mercurial\commands.pyo", line 775, in commitfunc
File "C:\Program Files\Kiln Client\kbfiles\bfsetup.py", line 222,
force=force, editor=editor, extra=extra)
File "mercurial\localrepo.pyo", line 962, in commit
File "C:\Program Files\Kiln Client\kbfiles\bfsetup.py", line 188,
node = super(bfiles_repo, self).commitctx(*args, **kwargs)
File "mercurial\localrepo.pyo", line 1009, in commitctx
File "mercurial\localrepo.pyo", line 847, in _filecommit
File "mercurial\filelog.pyo", line 38, in add
File "mercurial\revlog.pyo", line 1156, in addrevision
File "mercurial\store.pyo", line 299, in fncacheopener
File "mercurial\store.pyo", line 273, in add
File "mercurial\util.pyo", line 908, in __call__
File "mercurial\util.pyo", line 734, in checknlink
UnboundLocalError: local variable 'fd' referenced before assignment
----------
messages: 14957
nosy: thenry
priority: bug
status: unread
title: UnboundLocalError: local variable 'fd' referenced before assignment
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2597>
____________________________________________________
More information about the Mercurial-devel
mailing list