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)
committerChris Ball <cjb@laptop.org>
Fri, 25 Feb 2011 16:23:23 +0000 (11:23 -0500)
commit30fb3ff039deb3989609d6d6e1881cb2f8da7b7b
tree172454da586eeb8bbfe1ab0b5341118120d3f5b6
parent0b33ffd2515cbc5d7f5998839338b84b72660386
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