[Pkg-bazaar-maint] Bug#531128: bzr-git: Using bzr ci -x results in backtrace (without -x works)

Karl Goetz karl at kgoetz.id.au
Sat May 30 07:06:51 UTC 2009


Package: bzr-git
Version: 0.3.2
Severity: normal


I'm attempting to work on the Debian freeciv maintainance git repo. I'm doing the work in a vserver running sid, but reporting this bug from the host running lenny.

I've copied a heap of modified files into the repository from before I did a checkout, and I'd like to /not/ commit the debian/* directory with all the other files.

This succeeds:
 sidvs:~/freeciv-dco# bzr ci --show-diff

This crashes:
 sidvs:~/freeciv-dco# bzr ci --show-diff -x debian/ 


Here is the backtrace (I have trimmed all the 'modified's)

modified utility/Makefile.am
modified utility/Makefile.in
modified utility/hash.c
modified utility/hash.h
modified utility/timing.c
aborting commit write group: BzrCommandError(empty commit message specified)                                                                               
bzr: ERROR: empty commit message specified
sidvs:~/freeciv-dco# bzr ci --show-diff -x debian/ 
Committing to: /root/freeciv-dco/.git/                                                                                                                     
aborting commit write group: NotImplementedError(<bound method GitCommitBuilder.record_entry_contents of <bzrlib.plugins.git.commit.GitCommitBuilder object at 0x9f4b18c>>,)
bzr: ERROR: exceptions.NotImplementedError: <bound method GitCommitBuilder.record_entry_contents of <bzrlib.plugins.git.commit.GitCommitBuilder object at 0x9f4b18c>>

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 729, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 924, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 560, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2932, in run
    exclude=safe_relpath_files(tree, exclude))
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 228, in commit
    *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 363, in commit
    self._update_builder_with_changes()
  File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 648, in _update_builder_with_changes
    self._populate_from_inventory()
  File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 860, in _populate_from_inventory
    content_summary)
  File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 904, in _record_entry
    ie, self.parent_invs, path, self.work_tree, content_summary)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/git/commit.py", line 52, in record_entry_contents
    raise NotImplementedError(self.record_entry_contents)
NotImplementedError: <bound method GitCommitBuilder.record_entry_contents of <bzrlib.plugins.git.commit.GitCommitBuilder object at 0x9f4b18c>>

bzr 1.15rc1 on python 2.5.4 (linux2)
arguments: ['/usr/bin/bzr', 'ci', '--show-diff', '-x', 'debian/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
  bzrtools             /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.15]
  git                  /usr/lib/python2.5/site-packages/bzrlib/plugins/git [0.3.2]
  launchpad            /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [1.15rc1]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [1.15rc1]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.
sidvs:~/freeciv-dco#




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-vserver-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-bazaar-maint mailing list