[cvsnt] cvs update fails on first try then succedes on second...
John Cole
john.cole at uai.com
Mon Feb 27 14:53:53 GMT 2006
I have run into an odd problem with our build scripts. We have a file that
the build script is trying to update but it fails on it's first attempt.
This particular task can be run outside of a full build, so it attempts to
perform an update on the file it cares about. During a full build, this
directory is cleaned up and a fresh checkout happens, then this script
performs an update on the single file and it fails. If you perform the
update command a second time, it succeeds.
I ran the command with -t -t -t twice in a row, why is the first command
failing?
C:\Program Files\Common Files\UAI>cvs -t -t -t update MetaSql.mdb
-> Tracelevel set to 3. PID is 2624
-> Session ID is a40440310f5377d
-> Domain found: UAI
-> main loop with CVSROOT=:sspi:cvs.uai.int:/PRODDEV
-> Server codepage is CP1252
-> Client codepage is CP1252
-> Server version is CVSNT 2.5.03 (Scorpio) Build 2151
-> Client version is CVSNT 2.0.62.1817
-> Requesting server cvsignore
-> wrap_add(*.gif -kb, 0, 0)
-> wrap_add(*.pdf -kb, 0, 0)
-> wrap_add(*.bmp -kb, 0, 0)
-> wrap_add(*.jpg -kb, 0, 0)
-> wrap_add(*.jpeg -kb, 0, 0)
-> wrap_add(*.png -kb, 0, 0)
-> wrap_add(*.exe -kb, 0, 0)
-> wrap_add(*.dll -kb, 0, 0)
-> wrap_add(*.so -kb, 0, 0)
-> wrap_add(*.a -kb, 0, 0)
-> wrap_add(*.pdb -kb, 0, 0)
-> wrap_add(*.lib -kb, 0, 0)
-> wrap_add(*.o -kb, 0, 0)
-> wrap_add(*.res -kb, 0, 0)
-> wrap_add(*.class -kb, 0, 0)
-> wrap_add(*.ogg -kb, 0, 0)
-> wrap_add(*.mp3 -kb, 0, 0)
-> Requesting server cvswrappers
-> Requesting server cvsrc (read-cvsrc2)
-> Parsing global cvsrc started
-> Parsing global cvsrc finished
-> Name_Repository((null),)
-> open_directory(/PRODDEV/Program Files/Common Files/UAI,(null),(null))
-> Name_Repository((null),)
-> Repository = /PRODDEV/Program Files/Common Files/UAI
-> Mapped repository = /PRODDEV/Program Files/Common Files/UAI
-> wnt_stat(MetaSql.mdb)
-> _statcore(00000000,MetaSql.mdb)
-> Trying GetFileAttributesEx....
-> File attributes = 00000020
-> - read/write file
-> GetUnixFileModeNtEA(M,00000744) returns 0666
-> close_directory()
cvs server: MetaSQL.mdb is no longer in the repository
-> call_in_directory /PRODDEV/Program Files/Common
Files/UAI/MetaSQL.mdb,./
-> Scratch_Entry(MetaSQL.mdb)
-> unlink_file(MetaSQL.mdb)
-> rename(CVS/Entries.Backup,CVS/Entries)
-> wnt_rename(CVS/Entries.Backup,CVS/Entries)
-> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
-> wnt_rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
-> unlink_file(CVS/Entries.Log)
-> unlink_file(CVS/Entries.Extra.Log)
C:\Program Files\Common Files\UAI>cvs -t -t -t update MetaSql.mdb
-> Tracelevel set to 3. PID is 2068
-> Session ID is 814440310fe379a
-> Domain found: UAI
-> main loop with CVSROOT=:sspi:cvs.uai.int:/PRODDEV
-> Server codepage is CP1252
-> Client codepage is CP1252
-> Server version is CVSNT 2.5.03 (Scorpio) Build 2151
-> Client version is CVSNT 2.0.62.1817
-> Requesting server cvsignore
-> wrap_add(*.gif -kb, 0, 0)
-> wrap_add(*.pdf -kb, 0, 0)
-> wrap_add(*.bmp -kb, 0, 0)
-> wrap_add(*.jpg -kb, 0, 0)
-> wrap_add(*.jpeg -kb, 0, 0)
-> wrap_add(*.png -kb, 0, 0)
-> wrap_add(*.exe -kb, 0, 0)
-> wrap_add(*.dll -kb, 0, 0)
-> wrap_add(*.so -kb, 0, 0)
-> wrap_add(*.a -kb, 0, 0)
-> wrap_add(*.pdb -kb, 0, 0)
-> wrap_add(*.lib -kb, 0, 0)
-> wrap_add(*.o -kb, 0, 0)
-> wrap_add(*.res -kb, 0, 0)
-> wrap_add(*.class -kb, 0, 0)
-> wrap_add(*.ogg -kb, 0, 0)
-> wrap_add(*.mp3 -kb, 0, 0)
-> Requesting server cvswrappers
-> Requesting server cvsrc (read-cvsrc2)
-> Parsing global cvsrc started
-> Parsing global cvsrc finished
-> Name_Repository((null),)
-> open_directory(/PRODDEV/Program Files/Common Files/UAI,(null),(null))
-> Name_Repository((null),)
-> Repository = /PRODDEV/Program Files/Common Files/UAI
-> Mapped repository = /PRODDEV/Program Files/Common Files/UAI
-> wnt_stat(MetaSql.mdb)
-> _statcore(00000000,MetaSql.mdb)
-> close_directory()
-> call_in_directory /PRODDEV/Program Files/Common
Files/UAI/MetaSql.mdb,./
U MetaSql.mdb
-> rename(_new_MetaSql.mdb,MetaSql.mdb)
-> wnt_rename(_new_MetaSql.mdb,MetaSql.mdb)
-> change_mode (MetaSql.mdb,u=rw,g=rw,o=rw,1)
-> wnt_chmod(MetaSql.mdb,0666)
-> SetUnixFileModeNtEA(M,0666)
-> wnt_stat(MetaSql.mdb)
-> _statcore(00000000,MetaSql.mdb)
-> Trying GetFileAttributesEx....
-> File attributes = 00000020
-> - read/write file
-> GetUnixFileModeNtEA(M,00000078) returns 0666
-> wnt_stat(MetaSql.mdb)
-> _statcore(00000000,MetaSql.mdb)
-> Trying GetFileAttributesEx....
-> File attributes = 00000020
-> - read/write file
-> GetUnixFileModeNtEA(M,00000078) returns 0666
-> Register(MetaSql.mdb, 1.13, Mon Jan 9 19:45:24 2006, -kb, , , , , )
-> rename(CVS/Entries.Backup,CVS/Entries)
-> wnt_rename(CVS/Entries.Backup,CVS/Entries)
-> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
-> wnt_rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
-> unlink_file(CVS/Entries.Log)
-> unlink_file(CVS/Entries.Extra.Log)
C:\Program Files\Common Files\UAI>
Thanks,
John Cole
More information about the cvsnt
mailing list