felipec / git-remote-hg

Transparent bidirectional bridge between Git and Mercurial for Git
GNU General Public License v2.0
369 stars 87 forks source link

Pull request: Fix for "Cloning HG repo to Git creates "uncheck-out-able" repositories". And upgrade for filenames transcoding #79

Open IngeniousOne opened 5 years ago

IngeniousOne commented 5 years ago

Hi, everybody!

I have two suggestion for you.

benbrummer commented 5 years ago

Can you add this PR to the mnauw fork, too. Almost all Distributions (Ubuntu, Fedora, Arch Linux...) are useing this. In fact this error is already fixed there, but your solution is in my optinion the better one.

IngeniousOne commented 5 years ago

Hi. Ok, all add my pull request in mnauw's fork too.

пн, 18 нояб. 2019 г., 14:59 benbrummer notifications@github.com:

Can you add this PR to the mnauw fork, too. Almost all Distributions (Ubuntu, Fedora, Arch Linux...) are useing this. In fact this error is already fixed there, but your solution is in my optinion the better one.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/felipec/git-remote-hg/pull/79?email_source=notifications&email_token=AMXPO4QPREU77R2I7I5EETLQUJRRZA5CNFSM4IH6S5UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEJ4EMI#issuecomment-554943025, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXPO4QZDNNATFFPPL62E5LQUJRRZANCNFSM4IH6S5UA .

felipec commented 4 years ago

Wouldn't it be better to have a per-repository configuration that specifies the encoding of the Mercurial repository? You wouldn't want to transcode as cp1251 all repositories.

Also, in Git all repositories are assumed to be utf-8, so there's no need to specify that.