[MERGE] Implementation and tests for -r revno:N:path

John Arbash Meinel john at arbash-meinel.com
Tue Jul 18 17:05:13 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Bentley wrote:
> 
> +        except NotBranchError:
> +            # Don't raise an error when bzr diff is called from
> +            # outside a working tree.
> +            tree1, tree2 = None, None
> 
> This patch causes us to get a very bad error when plain 'bzr diff' is
> run in an unversioned directory:
> 
> AttributeError: 'NoneType' object has no attribute 'basis_tree'
> 
> Previously, it produced:
> 
> bzr: ERROR: Not a branch: /home/abentley/bzrplugins/
> 
> I'd consider this a regression.
> 
> Aaron

Agreed.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEvQa5JdeBCYSNAAMRAsfnAJ0YbXI5n3ogymT0TUVQDKEM5hESxwCgotX2
Rx8NJj3k8zV/SwflPgImiL0=
=jsiW
-----END PGP SIGNATURE-----




More information about the bazaar mailing list