Merge lp:~vila/bzr/822571-bzr-home-unicode into lp:bzr
Proposed by
Vincent Ladeuil
Status: | Merged |
---|---|
Approved by: | John A Meinel |
Approved revision: | no longer in the source branch. |
Merged at revision: | 6060 |
Proposed branch: | lp:~vila/bzr/822571-bzr-home-unicode |
Merge into: | lp:bzr |
Diff against target: |
65 lines (+11/-7) 2 files modified
bzrlib/config.py (+8/-7) doc/en/release-notes/bzr-2.5.txt (+3/-0) |
To merge this branch: | bzr merge lp:~vila/bzr/822571-bzr-home-unicode |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Approve | ||
Jelmer Vernooij | Pending | ||
Review via email: mp+70870@code.launchpad.net |
This proposal supersedes a proposal from 2011-08-08.
Commit message
Decode BZR_HOME with fs encoding to allow unicode homes.
Description of the change
Ad-hoc fix for the failing test.
It's a bit surprising that we failed this way, I don't fully
understand what triggered the failure overall.
The actual failure is related to Martin's addition of the
fdatasync config option which requires getting the path to the
config file and as such interprets BZR_HOME. It may also be
related to Jelmer's change about separating get_transport for
paths and urls.
There may be a deeper issue at work here but not worth
investigating now IMHO, just something to stay aware about.
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 8/8/2011 11:15 AM, Vincent Ladeuil wrote: tests.blackbox. test_version. TestVersionUnic odeOutput. test_unicode_ bzr_home /bugs.launchpad .net/bzr/ +bug/822571 /code.launchpad .net/~vila/ bzr/822571- bzr-home- unicode/ +merge/ 70706
> Vincent Ladeuil has proposed merging
> lp:~vila/bzr/822571-bzr-home-unicode into lp:bzr.
>
> Requested reviews: bzr-core (bzr-core) Related bugs: Bug #822571 in
> Bazaar:
> "bzrlib.
>
>
fails" https:/
>
> For more details, see:
> https:/
>
>
>
Ad-hoc fix for the failing test.
>
> It's a bit surprising that we failed this way, I don't fully
> understand what triggered the failure overall.
>
> The actual failure is related to Martin's addition of the fdatasync
> config option which requires getting the path to the config file and
> as such interprets BZR_HOME. It may also be related to Jelmer's
> change about separating get_transport for paths and urls.
>
> There may be a deeper issue at work here but not worth investigating
> now IMHO, just something to stay aware about.
Should we be forcing "utf-8" rather than _fs_enc? I would tend to do
1) _fs_enc if set (not None) and not ASCII
2) fallback to 'mbcs' on Windows
3) fallback to 'utf-8' everywhere else
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
/4EAACgkQJdeBCY SNAANjXwCfQ4Z4k FfCFKfqPS09/ AlFmc/Z NUb9dJMGMUPu+ 13zXH
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk4
CgMAoMmxtnj4I/
=fg9D
-----END PGP SIGNATURE-----