[cvsnt] Re: Is it allowed to change from binary to unicode?
Björn Carlsson
bc at passagen.se
Tue Jan 27 18:39:33 GMT 2004
Do you know if this would work even with more than one revision
initially in the repository?
Tony Hoyle wrote:
>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