Comment 6 for bug 77657

Revision history for this message
David Henningsson (diwic) wrote :

This was a showstopper to me and I had to do something...

Disclaimer: no idea if this works for you. Make sure you have a backup. Don't sue me. Etc.

At line 2235 of workingtree_4.py (bzr version 1.0.0), change the code from this:

                        while path_index < len(current_dir_info[1]):
                                current_path_info = current_dir_info[1][path_index]
                                if want_unversioned:
                                    if current_path_info[2] == 'directory':

to:

                        while path_index < len(current_dir_info[1]):
                                current_path_info = current_dir_info[1][path_index]
                                print "Current path info: ", current_path_info, "\n"
                                if want_unversioned:
                                    if current_path_info[2] == 'directory':

and it will print every file, including the one it crashes on.