Link to home
Start Free TrialLog in
Avatar of dave4dl
dave4dl

asked on

CVS (code management system) unable to checkout unicode file

I'm getting the following checkout error message from CVS (code management system) when attempting to check out an entire branch:

cvs [checkout aborted]: unrecognized operation '\xffffffef' in E:/cvsrepo/CurRepository/DB Script.sql,v

This is occurring with all the unicode files in my repository.

An additional twist:  These files have been "removed" and that removal committed through CVS.

When i check out the files through WinCVS everything checks out correctly (those files are not there) but when i do it through the command line they are there.

So my question is, does anyone know how to do a checkout/update that does not pull files that are deleted?
OR alternatetively,
Does anyone know how to get CVS to check out all unicode files without having problems?
Avatar of shinobun
shinobun

You should set your unicode files as binary.  Let me see if I can find a link...
See '-kb' in the Substitution modes section:

http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_12.html#SEC101
ASKER CERTIFIED SOLUTION
Avatar of shinobun
shinobun

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dave4dl

ASKER

Thanks for the posts shinobun.  Part of the problem is that we do checkouts from cvs using wincvs and all the files in the repository that have been marked as deleted (which these problem unicode ones have been) and so do not get copied to the client in the checkout.

Is there a way to do a checkout from the repository where it does not try to look into files that cvs has marked as deleted?
Avatar of dave4dl

ASKER

sorry about the mangled sentence (I wish i could edit my post)

Again with better grammar:

Thanks for the posts shinobun.  Part of the problem is that we do checkouts from cvs using wincvs and all the files in the repository that have been marked as deleted (which these problem unicode ones have been) do not get copied to the client in the checkout.

Is there a way to do a checkout from the repository where it does not try to look into files that cvs has marked as deleted?
If the remove was committed, you will not be able to get the files with checkout or update unless to specify a tag, revision, or date before the removal.
Avatar of dave4dl

ASKER

The guy i was helping was checking stuff out through CruiseControl through ssh so i am not sure what connection string he was using but when i tried to check out an older version of the code that had those files in it i got the same error via wincvs (so i could not check the files out any way that i knew).  I ended up just deleting those files from the cvs repository directory on the server.  I guess those files must have been corrupt or something.

Thanks so much for your help shinobun.
Avatar of dave4dl

ASKER

its late i guess.

when i say "connection string" i mean "cvs command"