Re: Re: how to force PlainBinary encoding on all binary files in MacCVS?
Jens Miltner <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.gui.user |
|---|---|
| Message-ID | <[email protected]> |
Am 10.08.2007 um 20:40 schrieb rodgers38: > --- In [email protected], Jens Miltner <jum@...> wrote: > > > > > > Am 24.5.07 um 15:54 schrieb mbarborak: > > > > > Hi, > > > > > > I am having a bit of a problem administrating CVS for a handful of > > > CVS-naive MacCVS users. The problem I am having is that when these > > > users add binary files to CVS, MacCVS is occasionally using > BinHex to > > > preserve the resource fork in the binary. The problem is that when > > > these MacCVS users then try to check out these files, some of > them get > > > an error like this: > > > > > > cvsgui [checkout aborted]: Internal error: cvs_hqx.cpp, 497: > Unknown > > > error: -50 > > > > > > and my WinCVS users (less naive but also less patient) get > BinHexed > > > files. > > > > > > The work around is to check out the BinHexed file with WinCVS, > change > > > the extension to .hqx, use something like WinZip to extract the > file > > > from the archive and then check the file in with WinCVS. > > > > > > What I'd like to do is have all binary files on the Mac be encoded > > > with PlainBinary which will strip the resource fork. (This is > fine in > > > our case as the resource fork for the file types we deal with has > > > never proven to be of consequence.) > > > > > > So one solution is to develop a list of all of our file types > and have > > > all the MacCVS users edit their preferences to force PlainBinary > > > encoding on these types. This is of course an administrative > problem > > > but maybe the only solution. So my first question is, can > anyone tell > > > me if there is a file that I can setup with one MacCVS client > with all > > > the file preferences and then copy to everyone else's machine > to do > > > this? > > > > > > The solution I would prefer would be to set the global encoding > to be > > > PlainBinary but with MacCvsX-3.3-alpha2 the only options are > BinHex > > > and AppleSingle. So my second question is, is there a way with > this > > > version of MacCVS to use PlainBinary enoding for all binary files? > > > > > > Finally, I see here that it looks like someone has written some > code > > > to add PlainBinary as a global encoding option: > > > > > > http://www.koders.com/cpp/ > > > fid9CD8A66AC9547B6921732D5E48A417A361D6B416.aspx?s=mdef%3Ainsert > > > > > > So my last question is, is perhaps this developer monitoring this > > > thread and would they be willing to post the corresponding MacCVS > > > binary? > > > > > > > I'm not sure how well the current cvs tree will build on Mac OS, but > > there's definitely a version in cvs that supports setting plain > > binary as the default encoding type. If you have problems > building or > > running the latest version in cvs, you may want to look at the > > Changelog and search for the last MacCvsX change, then use this date > > to checkout a version that should build... > > > > If you don't know how to build or don't have the tools to build, let > > me know and I can send you a binary. I guess I should have posted a > > new release on the sf site a long while ago, but when making a build > > publicly available, I feel it should have had a certain amount of > > testing and I just never got around to run it through a lot of > tests. > > (That being said, I'm using it daily, so it servers _my_ > purposes ;-) > > > > > > HTH, > > </jum> > > > > Hi, > > I'm running into the same problem. For over a year, MacCvsX has > been adding binaries as > plain binaries. All of a sudden (I must have hit a switch by > accident), it starts storing them > as BinHex files which is not compatible with command line cvs. And > unfortunately, neither > is AppleSingle which is the only other choice given in MacCvsX 3.3a2. > > The chances of building any version of MacCvsX on my own sound grim > - CW 8 is the > requirement, I believe. Instead, is there a way I can twiddle a bit > in the MacCvs Prefs file > to cause it to add binaries as plain binary? Otherwise, I have to > give up using MacCvs. > > TIA, > Tim > I have just uploaded a 3.3b1 release of MacCvsX to the sourceforge server. This release should allow you to enforce plain binary encoding. You may want to give this a spin. </jum> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/cvsgui/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/cvsgui/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/