Solved

CVS (code management system) unable to checkout unicode file

Posted on 2006-10-20
8
623 Views
Last Modified: 2013-12-03
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?
0
Comment
Question by:dave4dl
  • 4
  • 4
8 Comments
 
LVL 9

Expert Comment

by:shinobun
ID: 17777983
You should set your unicode files as binary.  Let me see if I can find a link...
0
 
LVL 9

Expert Comment

by:shinobun
ID: 17777998
See '-kb' in the Substitution modes section:

http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_12.html#SEC101
0
 
LVL 9

Accepted Solution

by:
shinobun earned 500 total points
ID: 17778005
You need to issue the admin command, or do it through WinCVS.

cvs admin -kb filename

http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_16.html#SEC118
0
 
LVL 15

Author Comment

by:dave4dl
ID: 17792080
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?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 15

Author Comment

by:dave4dl
ID: 17792096
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?
0
 
LVL 9

Expert Comment

by:shinobun
ID: 17793202
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.
0
 
LVL 15

Author Comment

by:dave4dl
ID: 17903109
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.
0
 
LVL 15

Author Comment

by:dave4dl
ID: 17903113
its late i guess.

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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
File.WriteAllLines problem at random C# ASP.NET 6 53
word0 challenge 3 58
Not needed 13 58
index Out OF Range Exception error 4 33
Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now