Here's what I mean.
Code:
~$ bzr init test
~$ cd test
~/test$ touch this that
~/test$ ls -a
. .. .bzr that this
~/test$ bzr add *
added that
added this
~/test$ bzr commit
Committing to: ~/test/
added that
added this
[======================== ] Running pre_commit hooks - Stage 3/5
At this point it hangs. It's not using any CPU or disk time, it's just frozen. (For over an hour -- I waited once.) I have to press CTRL-C. Here's the relevent part of ~/.bzr.log. (I replaced the path to my repository with '~' in this output.)
Code:
0.173 encoding stdout as sys.stdout encoding 'UTF-8'
0.173 bzr arguments: [u'commit']
0.174 looking for plugins in ~/.bazaar/plugins
0.174 looking for plugins in /usr/lib/python2.5/site-packages/bzrlib/plugins
0.174 Plugin name __init__ already loaded
0.174 Plugin name __init__ already loaded
0.266 bzr-svn: using Subversion 1.4.6 (/var/lib/python-support/python2.5/svn/core.pyc)
0.431 encoding stdout as sys.stdout encoding 'UTF-8'
0.519 opening working tree '~/test'
0.542 preparing to commit
[20619] 2008-06-13 17:48:14.584 INFO: Committing to: ~/test/
0.559 Selecting files for commit with filter None
[20619] 2008-06-13 17:48:14.614 INFO: added that
[20619] 2008-06-13 17:48:14.616 INFO: added this
0.665 check paths: None
6.145 added revision_id {[email protected]}
97.390 Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 846, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2364, in run
author=author)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 240, in commit
result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 197, in commit
revprops=revprops, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 395, in commit
self.branch.set_last_revision_info(new_revno, self.rev_id)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1913, in set_last_revision_info
self._run_post_change_branch_tip_hooks(old_revno, old_revid)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1431, in _run_post_change_branch_tip_hooks
hook(params)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/hook.py", line 50, in on_post_change_branch_tip
activity.Activity().advertise_branch(params.branch)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/activity.py", line 75, in advertise_branch
self.announce_revision(branch.last_revision(), branch.base)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/activity.py", line 86, in announce_revision
self._call_on_broadcast('announce_revision', revision, url)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/activity.py", line 136, in _call_on_broadcast
mainloop.run()
File "/var/lib/python-support/python2.5/dbus/connection.py", line 509, in _signal_func
signal_name):
File "/var/lib/python-support/python2.5/dbus/connection.py", line 425, in _iter_easy_matches
for path in path_keys:
KeyboardInterrupt
97.390 return code 3
Oh, and here's my version of bzr:
Code:
$ bzr --version
Bazaar (bzr) 1.5
Python interpreter: /usr/bin/python 2.5.2
Python standard library: /usr/lib/python2.5
bzrlib: /usr/lib/python2.5/site-packages/bzrlib
Bazaar configuration: /home/dwk/.bazaar
Bazaar log file: /home/dwk/.bzr.log
Copyright 2005, 2006, 2007, 2008 Canonical Ltd.
http://bazaar-vcs.org/
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
$
It's the latest Lenny version. I just updated and the problem remains.
Anyway, this is a silly place to start complaining about this. I should report a bug to Debian or perhaps try to figure out what's wrong myself. I'm unfortunately out of time at the moment, though, so I don't think I'll be able to.
[edit] Oh, and the only interesting file in ~/.bazaar is bazaar.conf, which only contains this:
[/edit]