You are not logged in.

#1 2019-06-19 19:11:24

catnap
Member
Registered: 2016-10-03
Posts: 131

Codec error crashes Bzr Export

I've been trying to change some of my Bzr repositories into Git repositories because I have the impression that Git has become more standard as a version control system. Unfortunately, one such repository turned out more difficult to convert than the others. A codec error of some sort has dwindled my best efforts to convert it. I've tried two different ways of exporting the repository. The first method was to try git-remote-bzr. The command

 git clone bzr::/home/me/Documents Documents

yielded the unsatisfactory

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 46: ordinal not in range(128)

Also, the other attempt with

bzr fast-export . > bzr-fast-export.db

produced the error

bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128)

I wonder if the problem really lies in the choice of codecs and if it might be possible to specify another codec with a more comprehensive list of characters.

Offline

Board footer

Powered by FluxBB