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: melissa . fielding
Subject: Re: cvs import: cannot lstat file : No such file or directory
Date: Wed, 24 Jul 2002 16:28:47 -0400

Hello,

I'm running this on a Sun Solaris 8 system.  Here is the results for ls
-lqR.  Because I did the checkout there is also a CVS directory.  Thanks
for letting me know that I should NEVER do a checkout over a directory that
I already have.


melissa@sun:/export/home/melissa/junk>ls -lqR
.:
total 6
drwxr-xr-x   2 melissa  sysadmin     512 Jul 24 14:09 CVS
-rw-r--r--   1 melissa  sysadmin      62 Jul 24 10:16 j1
drwxr-xr-x   2 melissa  sysadmin     512 Jul 24 10:16 jdir1

./CVS:
total 6
-rw-r--r--   1 melissa  sysadmin       7 Jul 24 14:09 Entries
-rw-r--r--   1 melissa  sysadmin       5 Jul 24 14:04 Repository
-rw-r--r--   1 melissa  sysadmin      19 Jul 24 14:04 Root

./jdir1:
total 2
-rw-r--r--   1 melissa  sysadmin      29 Jul 24 10:16 jd1
melissa@sun:/export/home/melissa/junk>




                                                                                
                             
                    lawrence.jones                                              
                             
                    @eds.com             To:     melissa.fielding@highmark.com  
                             
                    (Larry Jones)        cc:     bug-cvs@gnu.org, 
maslen@wedgetail.com, ian@airs.com         
                                         Subject:     Re: cvs import: cannot 
lstat file : No such file or    
                    07/24/2002            directory                             
                             
                    04:18 PM                                                    
                             
                                                                                
                             
                                                                                
                             




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]