[MERGE] bzr rm should delete the working file (Bug #82602)
Alexander Belchenko
bialix at ukr.net
Fri Apr 20 11:48:05 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool пишет:
> On 4/20/07, Marius Kruger <amanic at gmail.com> wrote:
> @@ -31,6 +31,16 @@
>
> class TestRemove(ExternalBase):
>
> + def run_bzr_captured(self, argv, retcode=0, encoding=None, stdin=None,
> + working_dir=None):
> +
> + # magically convert commands like 'remove abc' to ['remove',
> 'abc']
^-- AFAIK runbzr already do this magic. Why not using it?
> + if (isinstance(argv, tuple) and len(argv) == 1 and
> + isinstance(argv[0], basestring)):
> + argv = shlex.split(argv[0])
> + return ExternalBase.run_bzr_captured(self, argv, retcode,
> encoding,
> + stdin, working_dir)
> +
> def _make_add_and_assert_tree(self, files):
> tree = self.make_branch_and_tree('.')
> self.build_tree(files)
[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGKJplzYr338mxwCURAvvWAJ97CypOM9m0mTJCQN7CFrrjMDBhHQCfdsj7
6AAoF7lCtozciSxD91IY6cE=
=dWE5
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list