Using bzr as backend is difficult.

Aaron Bentley aaron at aaronbentley.com
Wed Apr 11 15:47:15 UTC 2012


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

On 12-04-11 12:48 AM, INADA Naoki wrote:
> I want to write web based html editor with bazaar backend. I found
> wikkid uses TransformPreview for using bazaar branch as a backend.
> 
> But TransformPreview doesn't provide any tutorial for making commit
> and it's API is not easy to understand. For example, how to make
> trans_id for second argument of TransformPreview.new_file?

You can use trans_id_tree_file_id to get the trans_id of a directory
that already exists in the base tree.  You can use new_directory to
create a new parent directory.

> How I can rename file?

adjust_path

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+Fp4MACgkQ0F+nu1YWqI0ZcgCdGksNYmveoASfSUmX/2f5ziFV
rtUAn3no6lkz7GLRQa760j/VPfYfe/TD
=Yr9w
-----END PGP SIGNATURE-----



More information about the bazaar mailing list