New issue 77: change selection of rename diff causes traceback
http://bitbucket.org/tortoisehg/stable/issue/77/change-selection-of-rename-diff-causes

Steve Borho / sborho on Fri, 6 Mar 2009 04:54:46 +0100:

Description:
  {{{
Traceback (most recent call last):
  File "/home/steve/tools/tortoisehg-dev/hggtk/status.py", line 882, in 
_diff_tree_row_act
    self._update_diff_header(dmodel, wfile, newvalue)
  File "/home/steve/tools/tortoisehg-dev/hggtk/status.py", line 650, in 
_update_diff_header
    newtext = self._shelve_chunks[row[DM_CHUNK_ID]].selpretty(sel)
  File "/home/steve/tools/tortoisehg-dev/hggtk/hgshelve.py", line 116, in 
selpretty
    if selected(i):
  File "/home/steve/tools/tortoisehg-dev/hggtk/status.py", line 649, in <lambda>
    sel = lambda x: not dmodel[hc+x+1][DM_REJECTED]
IndexError: could not find tree path
}}}

I found a simple repro case, just hg mv a file and make modifications to the 
target.  Bring up the commit window and then toggle either the rename source or 
target files.  You get the above traceback.

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.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to