[issue2087] traceback in relink when no probably relinkable files found
Patrick
bugs at mercurial.selenic.com
Thu Mar 11 04:08:26 UTC 2010
New submission from Patrick <patcarlisle at gmail.com>:
collected 5689 candidate storage files
pruned down to 0 probably relinkable files
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.5)
** Extensions loaded: rebase, graphlog, transplant, record, mq,
mercurial_keyring, relink, schemes, color, pager, bookmarks, hggit
Traceback (most recent call last):
File "/usr/local/bin/hg", line 27, in <module>
mercurial.dispatch.run()
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 16,
in run
sys.exit(dispatch(sys.argv[1:]))
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 30,
in dispatch
return _runcatch(u, args)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 47,
in _runcatch
return _dispatch(ui, args)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 466,
in _dispatch
return runcommand(lui, repo, cmd, fullargs, ui, options, d)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 336,
in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/Library/Python/2.6/site-packages/mercurial/extensions.py", line
128, in wrap
return wrapper(origfn, *args, **kwargs)
File "/Library/Python/2.6/site-packages/hgext/pager.py", line 66, in
pagecmd
return orig(ui, options, cmd, cmdfunc)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 517,
in _runcommand
return checkargs()
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 471,
in checkargs
return cmdfunc()
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 465,
in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/Library/Python/2.6/site-packages/mercurial/util.py", line 401, in
check
return func(*args, **kwargs)
File "/Library/Python/2.6/site-packages/hgext/relink.py", line 53, in
relink
do_relink(src.store.path, repo.store.path, targets, ui)
File "/Library/Python/2.6/site-packages/hgext/relink.py", line 148, in
do_relink
ui.progress(_('relink'), None, f, _(' files'), total)
UnboundLocalError: local variable 'f' referenced before assignment
----------
messages: 12010
nosy: patrick
priority: bug
status: unread
title: traceback in relink when no probably relinkable files found
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2087>
____________________________________________________
More information about the Mercurial-devel
mailing list