bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs import: cannot lstat file : No such file or directory


From: Larry Jones
Subject: Re: cvs import: cannot lstat file : No such file or directory
Date: Wed, 24 Jul 2002 16:18:33 -0400 (EDT)

melissa.fielding@highmark.com writes:
> 
> It's me again!  I'm getting the following errors when I am trying to import
> a test repository.  What does lstat mean?  I also noticed that in $CVSROOT
> directory there is no 'gnu' directory.  I was looking at the "Where files
> are stored within the repository" on page 8 of the CVS manual for CVS
> v1.11.2.  Is that needed and if so, where did I miss the step that creates
> the directory?

That's just an example of what a repository *might* look like; only the
CVSROOT directory of administrative files is required.

> $ cvs import -m "Junk Test" junk Junk_Dist Junk-Test
> 
> N junk/
> cvs import: cannot lstat file : No such file or directory
> N junk/
> cvs import: cannot lstat file : No such file or directory
> N junk/
> cvs import: cannot lstat file : No such file or directory
> N junk/ir1
> cvs import: cannot lstat file ir1: No such file or directory
> N junk/S
> cvs import: cannot lstat file S: No such file or directory

What platform is this on?  lstat() is a system routine that gets
information about a file -- it would appear that it doesn't work right
on your platform.  In fact, it looks like a lot of things don't work
right since it looks like CVS is trying to import files with no names. 
It would be informative to see an ``ls -lqR'' of the directory you're
trying to import.

> $ cd ..
> $ cvs checkout junk

Never checkout over an existing directory (I presume ``junk'' is the
directory you just imported), especially one that you just imported. 
Either rename the existing directory before doing the checkout, or use
the ``-d'' option to checkout to use a different name for the new
directory.

-Larry Jones

Any game without push-ups, hits, burns or noogies is a sissy game. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]