[cvsnt] Re: Is it allowed to change from binary to unicode?

Tony Hoyle tmh at nodomain.org
Tue Jan 27 14:32:41 GMT 2004


On Tue, 27 Jan 2004 11:35:47 +0000 (UTC), bc_remove_ at passagen.se
(Björn Carlsson) wrote:

>If a file has been added as binary, but it's really unicode, should it
>then be possible to run admin -ku without destroying that file?

Yes (ish), but it'll be tricky to get right, as you're changing the
storage format.

What I'd do is:

1. Take a copy of the file
2. Do update -ku
3. Do admin -ku
4. Put the file back from step 1.
5. Use commit -f to force a new revision.

It may not be necessary to do all those steps (I've not actually tried
it) but I think that should work.

Tony




More information about the cvsnt mailing list