New issue 300: Guess tool tracebacked the error
http://bitbucket.org/tortoisehg/stable/issue/300/guess-tool-tracebacked-the-error

Yuki KODAMA / kuy on Wed, 17 Jun 2009 03:32:25 +0200:

Description:
  TorotiseHg uses old params format.
The cause is TortoiseHg Guess tool uses old params format of 'findrenames' 
function.

{{{
** このバグを [email protected] または 
http://bitbucket.org/tortoisehg/stable/issues に報告してください
** Mercurial version (a7c4eb0cc0ed).  TortoiseHg version (30d64724df5e)
** Command: commit
** CWD: C:\Documents and Settings\yuki\Application 
data\mozilla\firefox\profiles\2zswrtv0.fx35dev\extensions\[email protected]
** Extensions loaded: extdiff, mq, record, win32color, qswap
Recoverable runtime error (stderr):
Exception in thread Thread-2:
Traceback (most recent call last):
  File "threading.pyc", line 486, in __bootstrap_inner
  File "threading.pyc", line 446, in run
  File "hggtk\guess.pyc", line 272, in search_thread
TypeError: findrenames() takes at most 3 arguments (4 given)
}}}

Old definition:\\
{{{def findrenames(repo, added=None, removed=None, threshold=0.5):}}}

New definition:\\
{{{def findrenames(repo, match=None, threshold=0.5):}}}

And also should fix 'findmoves' function in guess.py. 
Actual definition:\\
{{{def findmoves(repo, added, removed, threshold):}}}ndrenames

Responsible:
  tortoisehg
-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to