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

git-cvsimport: $cvs->file() fails silently

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Oct 27, 2005, 04:23 UTC
Message-ID
<46a038f90510262123y4f56cf7v5494b391394ac648@mail.gmail.com>

We have seen a few instances of files extracted from a remote CVS repo by $cvs->file() being empty, and still git-cvsimport did not die or complain. If I rewind the affected head and re-run git-cvsimport, the file is imported correctly, which makes me suspect that the server went away or there was some other networking glitch, and that the file() and _file() methods didn't handle it gracefully.

I've been through the file(), _file() and _line() methods, and they seem pretty conservative -- they die or return undef in all the right places. There _must_ be one place that we're missing but I just can't see it.

Any ideas?
martin
Next: Martin Langhoff
Message 1 of 2 in “git-cvsimport: $cvs->file() fails silently”
  1. Martin LanghoffOct 27, 2005
  2. Martin LanghoffNov 1, 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.