[cvsnt] cvs update fails on first try then succedes on second...

Arthur Barrett arthur.barrett at march-hare.com
Mon Feb 27 21:00:42 GMT 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


John,

Looks like anti virus software on the repository server to me (or some
other process preventing the opening of the file).  

There is a whole lotta info you haven't provided, see here:
http://march-hare.com/cvspro/faq/faq2.asp#2z

Regards,


Arthur Barrett



-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of John Cole
Sent: Tuesday, 28 February 2006 1:54 AM
To: cvsnt at cvsnt.org
Subject: [cvsnt] cvs update fails on first try then succedes on
second...


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

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt cvsnt downloads at march-hare.com https://www.march-hare.com/cvspro/en.asp#downcvs @CVSNT on Twitter CVSNT on Facebook



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook