Comment 4 for bug 989420

Revision history for this message
cetus (cetus-newmail) wrote :

Ok, thank you!

I fix get_set_encoding function in qbzr/lib/util.py (using tag:release-0.22.2 of qbzr)

    else:
        if branch: # we should check boolean branch value to support 2 fake branch cases: branch is None, branch is FakeBranch
            try:
                branch.get_config().set_user_option("encoding", encoding)
            except errors.ReadOnlyError:
                pass
    return encoding

It works, but I got SIGSEGV randomly. Especially when I change encoding twice: to cp1251, then back to utf8.

What means "branch/repository is marked read-only" ?
My filesystem is writable, and branch (as branch) used to work with svn repository (copy of trunk).