Comment 8 for bug 349329

Revision history for this message
Peter Connolly (peterc-alembixengineering) wrote :

I also downloaded the latest rev of svn2bzr and tried running it against an edited version of the dump file. I deleted the ^M character at the end of the problematic commit log message and adjusted the length accordingly. This time I got thrown into the debugger:

Committed revision 171
Nothing changed in revision 172
...but committing revision properties (revno, message, committer, and timestamp) anyways
Committed revision 172
Changing dir: /var/bzr/trunk/myusers
warning: Code for changing dir properties is unimplemented.
 dir: /var/bzr/trunk/myusers
 property: {'svn:ignore': 'UserFormControllerTest_output.txt\nZacksTool.sptl'} remains unchanged
Changing dir: /var/bzr/trunk/myusers/web/WEB-INF/classes
warning: Code for changing dir properties is unimplemented.
 dir: /var/bzr/trunk/myusers/web/WEB-INF/classes
 property: {'svn:ignore': 'images\nMETA-INF\norg'} remains unchanged
Committed revision 173
error: Encountered error: global name 'Error' is not defined
while processing dump entry <DumpEntry "{'content-length': 28940, 'text-content-length': 28824, 'node-action': 'change', 'node-path': 'trunk/myusers/ZacksTool.iws', 'text-content-md5': 'b54274e224b71afd262c01371f6d83e0', 'prop-content-length': 116, 'node-kind': 'file'}">
Dropping into debugger...
> /home/peterc/bin/svn2bzr/branchcreator.py(843)execute_revision_entries()
-> for entry in entries:
(Pdb) quit
Traceback (most recent call last):
  File "./svn2bzr.py", line 194, in <module>
    main()
  File "./svn2bzr.py", line 187, in main
    log=log)
  File "./svn2bzr.py", line 88, in svn2bzr
    creator.run()
  File "/home/peterc/bin/svn2bzr/branchcreator.py", line 620, in run
    self.execute_revision_entries(entries)
  File "/home/peterc/bin/svn2bzr/branchcreator.py", line 843, in execute_revision_entries
    for entry in entries:
  File "/home/peterc/bin/svn2bzr/branchcreator.py", line 843, in execute_revision_entries
    for entry in entries:
  File "/usr/lib/python2.5/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib/python2.5/bdb.py", line 67, in dispatch_line
    if self.quitting: raise BdbQuit
bdb.BdbQuit