Don't call cmd.cleanup_now() for recent Bazaar versions.
authorW. Trevor King <wking@drexel.edu>
Tue, 22 Feb 2011 20:38:03 +0000 (15:38 -0500)
committerW. Trevor King <wking@drexel.edu>
Tue, 22 Feb 2011 20:38:03 +0000 (15:38 -0500)
commit0d9ec7c727ff624ee1905831e806cab8c9e65537
tree45a384b244c4c824bea91447302c1801941c3927
parent791da71e5c0d2a42eb6efe5c3a2d030b3bde4cfb
Don't call cmd.cleanup_now() for recent Bazaar versions.

Bug reported by Michael Chaffin:

> C:\XXX\ZZZ>be init
> Traceback (most recent call last):
>   ...
> AttributeError: 'cmd_root' object has no attribute '_operation'

Due to changes in bzrlib:

revno: 5146 [merge]
committer: Canonical.com Patch Queue Manager <pqm@pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2010-04-12 04:09:46 +0100

So for versions of bzr since then, we don't have to worry about
calling cleanup_now() anymore.
libbe/storage/vcs/bzr.py