/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Viewing all changes in revision 4241.14.16.

  • Committer: Vincent Ladeuil
  • Date: 2009-04-17 08:04:36 UTC
  • mto: (4331.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4332.
  • Revision ID: v.ladeuil+lp@free.fr-20090417080436-j1q0a5adj7t20b12
Fix _PreviewTree.get_symlink_target for unicode symlinks.

* bzrlib/tests/test_shelf.py:
(TestPrepareShelf._test_shelve_symlink_creation): Factored out and
add _PreviewTree.get_symlink_target check that reveals the unicode
bug.
(TestPrepareShelf.test_shelve_symlink_creation,
TestPrepareShelf.test_shelve_unicode_symlink_creation): Also test
unicode symlinks.

* bzrlib/transform.py:
(_PreviewTree.get_symlink_target): Use osutils.readlink()

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: