git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: binary safe?

From
David Brown <git@davidb.org>
Date
Nov 4, 2005, 16:54 UTC
Message-ID
<20051104165419.GA12145@old.davidb.org>
In-Reply-To
<46a038f90511031500p3d6ed433s6efe3f5a5e60bcf8@mail.gmail.com>
On Fri, Nov 04, 2005 at 12:00:54PM +1300, Martin Langhoff wrote:
> Yes it works, and cvsimport -k will do the right thing for you.

Unless it has changed from 0.99.9b, 'cvsimport -k' will very much scramble some binary files. '-k' passes the '-kk' option which causes CVS to strip the keywords down. It needs to pass -ko through if you want it to be able to handle binary files.

However, since CVS (RCS really) can remember the state of this flag, it does work to 'cvs admin -ko filename' beforehand, and then do the cvsimport without the '-k' option.

Dave
Previous: Martin LanghoffNext: Martin Langhoff
Message 4 of 9 in “binary safe?”
  1. Randal L. SchwartzNov 3, 2005
  2. Junio C HamanoNov 3, 2005
  3. Martin LanghoffNov 3, 2005
  4. David BrownNov 4, 2005
  5. Martin LanghoffNov 4, 2005
  6. David BrownNov 4, 2005
  7. Linus TorvaldsNov 3, 2005
  8. Chris WedgwoodNov 4, 2005
  9. Nick HengeveldNov 3, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.