IndexError in multiparent _reconstruct reading bundle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Newbie trying to set up bzr and figure out how it works...
Local pc has a branch on it in which I've created a simple text file, amended it and commited the change. I've then run send to generate a file I can copy to a server to apply the change to.
There is no direct link between local pc to the server so I've copied the send output file onto usb stick, from there onto another local machine which has network access and then onto the server, (development machines aren't allowed onto the internal network for security reasons).
The server has a branch with a text file identical to that on the original local pc, but there's no connection between the server and local branches, i.e. one wasn't generated from the other. I'm trying to update it with the patch generated from the local machine but it fails, the following output is produced:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Program Files/Bazaar/
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\merge.pyo", line 177, in from_mergeable
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
IndexError: list index out of range
bzr 2.0.3 on python 2.5.4 (Windows-
arguments: ['C:\\Program Files\\
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
qbzr C:\Program Files\Bazaar\
rebase C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
I've attached the output file generated by send for reference. The target file for updates was called test.txt.
summary: |
- Merge from Send output abends - bzr v 2.0.3 + IndexError in multiparent _reconstruct reading bundle |
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: multiparent send |
tags: | added: check-for-breezy |
Didn't mention in my original post, I'm running the Windows version of bzr.
The patch was generated in an attempt to generate details of the most recent commit on a branch, which I've since figured out you can't do with send, (do enough people ask for this to add it to send, or to create a new command, 'revision-patch' or somesuch?). The resulting output, I guess, lacks change details so the merge is perhaps failing to handle an empty file condition?
Hope that helps.