Merge lp:~abentley/bzr/ascii-preview into lp:bzr/2.0
Proposed by
Aaron Bentley
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | not available | ||||
Proposed branch: | lp:~abentley/bzr/ascii-preview | ||||
Merge into: | lp:bzr/2.0 | ||||
Diff against target: |
152 lines 3 files modified
NEWS (+3/-0) bzrlib/tests/test_transform.py (+10/-0) bzrlib/transform.py (+60/-39) |
||||
To merge this branch: | bzr merge lp:~abentley/bzr/ascii-preview | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil | Approve | ||
Review via email: mp+13371@code.launchpad.net |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
This patch fixes a bug with PreviewTrees that the filenames they can
represent are limited by the encoding of the temp directory's filesystem.
It does this by moving the limbo name generation into limbo_name, and then providing implementations on
_generate_
TreeTransform and DiskTreeTransform. The DiskTreeTransform version uses
ascii-only names based on trans-id, which was already the fallback
strategy for TreeTransform. The TreeTransform version is optimized to
avoid unnecessary renames when apply is invoked. This optimization is
only relevant to TreeTransform, because only TreeTransforms can be applied.
I've targetted this to 2.0 because it's a bugfix.
Aaron enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkr WG2sACgkQ0F+ nu1YWqI1p9QCghD dSC4K/t5ZEq+ lBY2gLjSLM JvN/iiko88oJnLd 6i
OHsAn2LMlSJVAeY
=Yvof
-----END PGP SIGNATURE-----