[cvsnt] New to cvs and having trouble importing

Nick Duane nickdu at msn.com
Fri Jul 21 13:00:27 BST 2006


I've read over the docs and did some searching but still can't seem to find 
an answer to my problem.  I'm sure I'm just doing something wrong, but I 
have no idea what that something is.  I'm running both the server and client 
on my machine.  I have setup a repository called Group1.  My thinking is 
that I would have one repository per development group.  Then within the 
repository the development groups could create a module for each of their 
projects.  We're planning to move from vss to CVS.  I figured the best way 
to move over to CVS would be to get the latest source from vss into a 
working directory and then import that into CVS.  However, I want to change 
the structure a bit and I also don't need all the code in my working 
directory.  So I figured I would start small and see if I could create a 
small directory structure under the Group1 repository.  I created a 
directory called c:\data\temp\cvsinit.  Under this directory I created two 
other directories called src and 3rdParty.  I then did the following:

cd \data\temp\cvsinit
import -d :sspi:redbonemobile:/Group1 import ???

Well as you can see my first question came when I needed to supply the 
repository to the import command.  What do you specify when creating the 
root?  After reading the docs I see that if the repository you specify does 
not exist then CVS will create it.  So I then did:

import -d :sspi:redbonemobile:/Group1 import -m "Proj1" Proj1 -n

This created my Proj1 directory.  Now what I wanted to do was to import the 
directory structure from the current directory I was in.  So I did:

import -d :sspi:redbonemobile:/Group1 import -m "Proj1" Proj1 -n

As far as I can tell this didn't do anything.  I then added the trace flags 
and below is the output:

07:02:37:   -> Tracelevel set to 3.  PID is 3348
07:02:37:   -> Session ID is d1444c0b44d7eaf
07:02:37:   -> Session time is Fri Jul 21 11:02:37 2006
07:02:37:   -> Loading protocol sspi as sspi.dll
07:02:37:   -> CLibraryAccess::Load loading 
C:\PROGRA~1\CVSNT/protocols/sspi.dll

07:02:37:   -> main loop with CVSROOT=:sspi:redbonemobile:/Group1
07:02:37:   -> Server codepage is CP1252
07:02:37:   -> Client codepage is CP1252
07:02:37:   -> Server version is CVSNT 2.5.03 (Scorpio) Build 2382
07:02:37:   -> Client version is CVSNT 2.5.03 (Scorpio) Build 2382
07:02:37:   -> Requesting server cvsignore
07:02:37:   -> wrap_add(*.a -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.avi -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.bin -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.bmp -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.bz2 -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.chm -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.class -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.dll -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.doc -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.dvi -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.exe -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.gif -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.gz -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.hqx -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.ico -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.ilk -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.iso -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.lib -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.jar -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.jpg -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.jpeg -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.lnk -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.mpg -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.mpeg -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.mov -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.mp3 -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.ncb -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.o -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.ogg -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.obj -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.pdb -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.pdf -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.png -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.ppt -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.res -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.rpm -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.sit -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.so -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.tar -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.tga -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.tgz -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.tif -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.tiff -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.wav -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.wmv -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.xls -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.zip -kb, 0, 0, 0, 0)
07:02:37:   -> wrap_add(*.Z -kb, 0, 0, 0, 0)
07:02:37:   -> Requesting server cvswrappers
07:02:37:   -> Requesting server cvsrc (read-cvsrc2)
07:02:37:   -> Parsing global cvsrc started
07:02:37:   -> Parsing global cvsrc finished
07:02:37:   -> 
verify_perm(/Group1/Proj1/3rdParty,(null),create,(null),(null))
07:02:37:   -> verify_owner(/Group1/Proj1/3rdParty)
07:02:37:   -> Checking admin file /Group1/CVSROOT/admin for user nickdu
07:02:37:   -> add_valid_group(admin)
07:02:37:   -> Checking local access token for groups
07:02:37:   -> add_valid_group(None)
07:02:37:   -> add_valid_group(Everyone)
07:02:37:   -> add_valid_group(Debugger Users)
07:02:37:   -> add_valid_group(Administrators)
07:02:37:   -> add_valid_group(Users)
07:02:37:   -> add_valid_group(INTERACTIVE)
07:02:37:   -> add_valid_group(Authenticated Users)
07:02:37:   -> add_valid_group(Authenticated Users)
07:02:37:   -> add_valid_group(LOCAL)
07:02:37:   -> cache_directory_permissions(/Group1/Proj1/3rdParty)
07:02:37:   -> fileattr_read(/Group1/Proj1/3rdParty)
07:02:37:   -> fileattr_read(/Group1/Proj1)
07:02:37:   -> fileattr_read(/Group1)
07:02:37:   -> ACL lookup on directory /Group1/Proj1/3rdParty
07:02:37:   -> verify_acl(create,HEAD,(null))
07:02:37:   -> user_state = 0, group_state = 0
07:02:37:   -> no match at this level
07:02:37:   -> ACL lookup on directory /Group1/Proj1
07:02:37:   -> verify_acl(create,HEAD,(null))
07:02:37:   -> user_state = 0, group_state = 0
07:02:37:   -> no match at this level
07:02:37:   -> ACL lookup on directory /Group1
07:02:37:   -> verify_acl(create,HEAD,(null))
07:02:37:   -> user_state = 0, group_state = 0
07:02:37:   -> no match at this level
07:02:37:   -> verify_perm(/Group1/Proj1/src,(null),create,(null),(null))
07:02:37:   -> verify_owner(/Group1/Proj1/src)
07:02:37:   -> cache_directory_permissions(/Group1/Proj1/src)
07:02:37:   -> fileattr_read(/Group1/Proj1/src)
07:02:37:   -> ACL lookup on directory /Group1/Proj1/src
07:02:37:   -> verify_acl(create,HEAD,(null))
07:02:37:   -> user_state = 0, group_state = 0
07:02:37:   -> no match at this level
07:02:37:   -> ACL lookup on directory /Group1/Proj1
07:02:37:   -> verify_acl(create,HEAD,(null))
07:02:37:   -> user_state = 0, group_state = 0
07:02:37:   -> no match at this level
07:02:37:   -> ACL lookup on directory /Group1
07:02:37:   -> verify_acl(create,HEAD,(null))
07:02:37:   -> user_state = 0, group_state = 0
07:02:37:   -> no match at this level

No conflicts created by this import

I can see that it did traverse into those sub directories, but as I said I 
don't see them created in the repository.

Thanks,
Nick 





More information about the cvsnt mailing list