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

Re: cvsimport error: need a valid pathname

From
KVKalle Valo <kalle.valo@iki.fi>
Date
Aug 27, 2005, 17:44 UTC
Message-ID
<87zmr39svy.fsf@litku.valo.iki.fi>
In-Reply-To
<46a038f905082708371719121c@mail.gmail.com>
Martin Langhoff <martin.langhoff@gmail.com> writes:
Show 7 quoted lines
> On 8/28/05, Kalle Valo <Kalle.Valo@iki.fi> wrote:
>> The documentation says that it should be possible to update
>> incrementally from the CVS repository. Am I doing something wrong or
>> is this a bug?
>
> It _should_ work the way you are running it, so consider it a bug. Do
> you think you can do some tinkering/debugging to tell us some more?

I investigated it and realized that this was my mistake. I had copied the imported git repository from my laptop to my desktop using 'scp -r' and it changed .git/HEAD to a file, not a link as it should have been. I copied it again, this time with tar to preserve symbolic links, and cvsimport started to work again. So this was just a PEBCAK. Thanks for your help.

> Otherwise. how large is the cvs repo?

'git log | grep commit | wc -l' says 2704 commits. I have to say that git has made my life a lot easier. It was really easy to import the CVS history to git and now I can read the history properly with gitk. With CVS I would have been banging my head to the wall all the time.

Now all I want is svnimport and darcsimport :)
-- 
Kalle Valo
Previous: Martin LanghoffNext: Linus Torvalds
Message 3 of 5 in “cvsimport error: need a valid pathname”
  1. Kalle ValoAug 27, 2005
  2. Martin LanghoffAug 27, 2005
  3. Kalle ValoAug 27, 2005
  4. Make .git directory validation code test HEADLinus Torvalds, Aug 27, 2005
  5. Junio C HamanoAug 28, 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.