recode text files in repo
Victor Sudakov
vas at mpeks.tomsk.su
Thu Aug 29 04:18:05 UTC 2019
Marcin Kasperski wrote:
> >> >
> >> > Does anybody know how to configure "hg convert" to put all text files
> >> > through "iconv -f KOI8-R -t UTF8" ?
> >>
> >> Hmm, wouldn't evolve help (giving track of obsolete2current commits
> >> mapping as a bonus)?
> >
> > If possible, first I would like to try out some means without touching/modifying the history.
>
> By definition you are modifying history. You are taking most of your
> changesets and editing their contents (and even those which happened
> later, are rebased).
I humbly disagree. I'm not editing the contents, I'm just changing the
encoding. The text remains the same.
>
> In fact the final effect of hg convert with patches, and of evolve,
> should be similar (the difference: after evolve your old commits will be
> in your local repo, just marked as obsolete, after convert yuou will
> have new unrelated repo with unrelated history)
As long as the text remains the same, and changesets and commit messages
remain the same, I'm fine with that.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
More information about the Mercurial
mailing list