[MERGE] bzr missing: show last saved location unescaped

Alexander Belchenko bialix at ukr.net
Wed Jan 24 11:05:48 GMT 2007


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

Aaron Bentley пишет:
> Aaron Bentley has voted +0.
> Status is now: Semi-approved
> Comment:
> The change seems reasonable, but there are some issues with the test case.
> 
> 1. The bzr method you add doesn't seem very useful -- the output is used on only one line, so it doesn't save space.  It reduces clarity, because people who know what run_bzr does have to look up what bzr does.
> 
> 2. We've switched to using the standard  API to set up our tests.  So instead of doing bzr('init, 'add' 'commit' and 'branch', you should be using BzrDir.create_standalone_workingtree, WorkingTree.add, WorkingTree.commit and BzrDir.sprout

Usually I use some old test to write new one.
I'm poorly orientate in overall bzrlib API.
It's too huge for me.

Test that I'm wrote is designed based on
the test already present in blackbox/test_missing.py.

Can you point me to another good test that use mentioned API
for reference? I'm afraid without any reference I'm unable to write
what you want.

At least my current test works.

Alexander

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtz2MzYr338mxwCURAsy2AJ4g2bYR/jhl4PFp00NkowgRSYBLBACfbw3j
8ks8zGyP6zOY0/+EAuYwCBA=
=3ulb
-----END PGP SIGNATURE-----




More information about the bazaar mailing list