[cvsnt] Module information

Thomas Jensen cbm_silverflame at yahoo.com
Wed Oct 3 13:09:56 BST 2007


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.


Arthur, here is the trace info from cvsnt.

I am using CVSNT v.2.5.03 (Build 2382)

This is a relevant section of the serverside trace and
all of the clientside trace information...

serverside trace:

parse_info(CVSROOT/premodule,%r/%p %c %o,,blabla)
13:32:05: S -> Regexp match: ALL - blabla
13:32:05: S -> ALL found
13:32:05: S -> parse_info_line: Line=C:/modchk.bat %c
%o 
13:32:05: S -> Run arguments: C:/modchk.bat update
blabla 
13:32:05: S -> CreateProcess(,C:/modchk.bat update
blabla)
13:32:05: S -> run postmodule proc
13:32:05: S -> run_trigger()
13:32:05: S -> Call pre-loaded 'info.dll'
13:32:05: S -> postmodule_proc(blabla)
13:32:05: S -> default_trigger: 

clientside trace:

C:\TEST_CHECKOUT\blabla>cvs -ttt update
13:31:30:   -> Tracelevel set to 3.  PID is 1208
13:31:30:   -> Session ID is 4b847037d92112c
13:31:30:   -> Session time is Wed Oct  3 11:31:30
2007
13:31:30:   -> Loading protocol pserver as pserver.dll
13:31:30:   -> CLibraryAccess::Load loading
C:\PROGRA~1\CVSNT/protocols/pserver.
dll
13:31:30:   -> main loop with
CVSROOT=:pserver:cvsadmin at virtual-p2:/TESTREP
O
13:32:04:   -> Server codepage is CP1252
13:32:04:   -> Client codepage is CP1252
13:32:04:   -> Server version is CVSNT 2.5.03
(Scorpio) Build 2382
13:32:04:   -> Client version is CVSNT 2.5.03
(Scorpio) Build 2382
13:32:04:   -> Requesting server cvsignore
13:32:04:   -> wrap_add(*.a -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.avi -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.bin -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.bmp -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.bz2 -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.chm -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.class -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.dll -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.doc -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.dvi -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.exe -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.gif -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.gz -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.hqx -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.ico -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.ilk -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.iso -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.lib -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.jar -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.jpg -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.jpeg -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.lnk -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.mpg -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.mpeg -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.mov -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.mp3 -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.ncb -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.o -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.ogg -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.obj -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.pdb -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.pdf -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.png -kb, 0, 0, 0, 0)
13:32:04:   -> wrap_add(*.ppt -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.res -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.rpm -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.sit -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.so -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.tar -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.tga -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.tgz -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.tif -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.tiff -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.wav -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.wmv -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.xls -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.zip -kb, 0, 0, 0, 0)
13:32:05:   -> wrap_add(*.Z -kb, 0, 0, 0, 0)
13:32:05:   -> Requesting server cvswrappers
13:32:05:   -> Requesting server cvsrc (read-cvsrc2)
13:32:05:   -> Parsing global cvsrc started
13:32:05:   -> Parsing global cvsrc finished
13:32:05:   -> Name_Repository((null),)
13:32:05:   -> Repository = /TESTREPO/blabla
13:32:05:   -> Mapped repository = /TESTREPO/blabla
13:32:05:   ->
open_directory(/TESTREPO/blabla,(null),(null))
13:32:05:   -> Name_Repository(.,.)
13:32:05:   -> Name_Repository((null),)
13:32:05:   -> Repository = /TESTREPO/blabla
13:32:05:   -> Mapped repository = /TESTREPO/blabla
13:32:05:   -> wnt_stat(blabla.txt)
13:32:05:   -> _statcore(00000000,blabla.txt)
13:32:05:   -> Trying GetFileAttributesEx....
13:32:05:   -> File attributes = 00000020
13:32:05:   ->  - read/write file
13:32:05:   -> GetUnixFileModeNtSec(b,00000000)
returns 0777
13:32:05:   -> close_directory()

Welcome. This is...

Secondary
Virtual CVS Server
on VIRTUAL-P2

-------------------------
User: cvsadmin
Location: /TESTREPO
Command: update
Timestamp: "Wed Oct  3 11:31:47 2007"
-------------------------
Arguments:
-------------------------
cvs server: Updating .
13:32:05:   -> call_in_directory /TESTREPO/blabla/,./
13:32:05:   -> unlink_file(CVS/Tag)
Operation update NOT allowed on blabla

C:\TEST_CHECKOUT\blabla>

--- Arthur Barrett <arthur.barrett at march-hare.com>
wrote:

> Thomas,
> 
> Can you:
> * enable tracing on the server
> * re-run a scenario that causes EXIT 1, with "cvs
> -ttt export ..." which
> will prpduce a trace.
> * search the trace for the call to premodule and
> send the 10 lines
> before and after it to the group.
> 
> I had some troubles recently with another trigger in
> the commercial
> build - I suspect that the FOSS build doesn't give
> much debugging, but
> hopefuly we can see something of what is going on.
> 
> Also retry with a premodule file that looks like
> this (change for the
> location of cmd.exe on your server):
> 
> ALL c:\\windows\\system32\\cmd.exe /c C:/modchk.bat
> %c %o
> 
> The problem could be that your "BAT" is returning 1,
> but the CMD.EXE
> (which is what the server actually runs) is
> returning 0.
> 
> There is also a "script" interface and a C++
> interface, both of which
> support the premodule trigger, and most probably are
> a little more
> reliable.  I believe there were some script samples
> posted when this was
> first developed about 2 years ago, but none since -
> c++ samples are
> plentiful and in the repository cvsnt/triggers
> directory.
> 
> Regards,
> 
> 
> Arthur Barrett

ps: Sorry, initially I didn't send this directly to
the mailing list. 

pps: Arthur, you might find a little inconsistency or
two between this and the mail you recieved, this is
due to that I have changed some hostnames and other
things to "imaginary" ones.


      __________________________________________________________ 
Find din nye laptop på kelkoo.dk. Se de gode tilbud her - http://dk.yahoo.com/r/pat/mm


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