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).
Ok, thank you!
I fix get_set_encoding function in qbzr/lib/util.py (using tag:release-0.22.2 of qbzr)
else:
branch. get_config( ).set_user_ option( "encoding" , encoding) ReadOnlyError:
pass
if branch: # we should check boolean branch value to support 2 fake branch cases: branch is None, branch is FakeBranch
try:
except errors.
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).