[cvsnt] -kB option problematic?

Gerhard Fiedler lists at connectionbrazil.com
Fri Aug 18 21:33:02 BST 2006


Hello,

I've started to use the -kB option for binary files a while ago. Just now I
had an .msi installer that would not commit (it was added with the -kBx
options). After setting it to -kb it committed just fine. See the commit
trace below (while it still was -kBx).

Is this -kB option stable and recommended? Or is the -kb option safer?

Thanks,
Gerhard


p:\...\Released>cvs -ttt commit file.msi
17:14:59:   -> Tracelevel set to 3.  PID is 2872
17:14:59:   -> Session ID is b3844e61fc3312d
17:14:59:   -> Session time is Fri Aug 18 20:14:59 2006
17:14:59:   -> CVS Server is acting as standalone
17:14:59:   -> main loop with CVSROOT=:sspi:user at server:/projects
17:15:00:   -> Server codepage is CP1252
17:15:00:   -> Client codepage is CP1252
17:15:00:   -> Server version is CVSNT 2.5.03 (Scorpio) Build 2151
17:15:00:   -> Client version is CVSNT 2.5.03 (Scorpio) Build 2151
17:15:00:   -> Requesting server cvsignore
17:15:00:   -> wrap_add(*.a -kb, 0, 0, 0, 0)
...
17:15:00:   -> Requesting server cvswrappers
17:15:00:   -> wrap_add(*.gif -k 'b', 0, 1, 0, 0)
...
17:15:00:   -> Requesting server cvsrc (read-cvsrc2)
17:15:00:   -> Parsing global cvsrc started
17:15:00:   -> cvs -rx
17:15:00:   -> checkout -P
17:15:00:   -> update -P
17:15:00:   -> Parsing global cvsrc finished
17:15:00:   -> Name_Repository((null),)
17:15:00:   -> open_directory(/projects/.../Released,(null),(null))
17:15:00:   -> Name_Repository((null),)
17:15:00:   -> Repository = /projects/.../Released
17:15:00:   -> Mapped repository = /projects/.../Released
17:15:00:   -> find_fileproc(file.msi)
17:15:00:   -> wnt_stat(file.msi)
17:15:00:   -> _statcore(00000000,file.msi)
17:15:00:   -> Trying GetFileAttributesEx....
17:15:00:   -> File attributes = 00002020
17:15:00:   ->  - read/write file
17:15:00:   -> GetUnixFileModeNtEA(A,00000634) returns 0000
17:15:00:   -> find_filesdoneproc
17:15:00:   -> close_directory()
17:15:00:   -> wnt_stat(F:\Tmp\cvs6F4.tmp)
17:15:00:   -> _statcore(00000000,F:\Tmp\cvs6F4.tmp)
17:15:00:   -> Trying GetFileAttributesEx....
17:15:00:   -> File attributes = 00000020
17:15:00:   ->  - read/write file
17:15:00:   -> GetUnixFileModeNtEA(F,00000634) returns 0000
17:15:00:   -> run->setup notepad
17:15:00:   -> run->arg F:\Tmp\cvs6F4.tmp
17:15:00:   -> run->exec()
17:15:00:   -> CreateProcess(,notepad F:\Tmp\cvs6F4.tmp)
17:15:10:   -> wnt_stat(F:\Tmp\cvs6F4.tmp)
17:15:10:   -> _statcore(00000000,F:\Tmp\cvs6F4.tmp)
17:15:10:   -> Trying GetFileAttributesEx....
17:15:10:   -> File attributes = 00000020
17:15:10:   ->  - read/write file
17:15:10:   -> GetUnixFileModeNtEA(F,00000620) returns 0000
17:15:10:   -> unlink_file(F:\Tmp\cvs6F4.tmp)
17:15:10:   -> Name_Repository((null),)
17:15:10:   -> open_directory(/projects/.../Released,(null),(null))
17:15:10:   -> Name_Repository((null),)
17:15:10:   -> Repository = /projects/.../Released
17:15:10:   -> Mapped repository = /projects/.../Released
17:15:10:   -> wnt_stat(file.msi)
17:15:10:   -> _statcore(00000000,file.msi)
17:15:10:   -> Trying GetFileAttributesEx....
17:15:10:   -> File attributes = 00002020
17:15:10:   ->  - read/write file
17:15:10:   -> GetUnixFileModeNtEA(A,00000624) returns 0000
17:15:10:   -> Sending file 'file.msi' to server
17:15:10:   -> wnt_stat(file.msi)
17:15:10:   -> _statcore(00000000,file.msi)
17:15:10:   -> Trying GetFileAttributesEx....
17:15:10:   -> File attributes = 00002020
17:15:10:   ->  - read/write file
17:15:10:   -> GetUnixFileModeNtEA(A,00000624) returns 0000
17:15:10:   -> wnt_stat(file.msi)
17:15:10:   -> _statcore(00000000,file.msi)
17:15:10:   -> Trying GetFileAttributesEx....
17:15:10:   -> File attributes = 00002020
17:15:10:   ->  - read/write file
17:15:10:   -> GetUnixFileModeNtEA(A,00000624) returns 0000
17:15:10:   -> close_directory()
Checking in file.msi;
/projects/.../Released/file.msi,v  <--  file.msi
cvs [commit aborted]: end of file from server (consult above messages if
any)


More information about the cvsnt mailing list