[cvsnt] command in logInfo is not executed

Evan Chou cyq_0906 at yahoo.com.tw
Mon Dec 12 11:44:44 GMT 2005


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.


Dear CVSNT user,

Recently I upgraded cvsnt server from 2.0.51d to 2.5.02.2151, but 
the execution in logInfo which worked fine on old server is now failed.
I tried to narrow down to problem scope, and thus I tested cvsnt 
with a simple case. My logInfo in $CVSROOT is : 

DEFAULT C:/Bugzilla_CVS_integ/aaa.pl %{sVv}

And aaa.pl is :

open (LOGFILE, ">C:/Bugzilla_CVS_integ/aaa.log");
print LOGFILE "@ARGV";
close LOGFILE;


When I commit, I always get "Script execution failed".
I don't think it's due to file permission, since 2.0.51d works fine 
under the same environment. My CVS client is TortoiseCVS 1.8.22 
(cvsnt 2.5.02.2064). 
Below is the detailed message :

Checking in Xnews.ini;
/CVSRep/Proj101/Xnews.ini,v  <--  Xnews.ini
new revision: 1.11; previous revision: 1.10
done
19:21:57:   -> call_in_directory /CVSRep/Proj101/Xnews.ini,./
19:21:57:   -> change_mode (Xnews.ini,u=r,g=r,o=r,1)
19:21:57:   -> wnt_chmod(Xnews.ini,0444)
19:21:57:   -> SetUnixFileModeNtEA(X,0444)
19:21:57:   -> wnt_stat(Xnews.ini)
19:21:57:   -> _statcore(00000000,Xnews.ini)
19:21:57:   -> Trying GetFileAttributesEx....
19:21:57:   -> File attributes = 00000021
19:21:57:   ->  - FILE_ATTRIBUTE_READONLY
19:21:57:   -> GetUnixFileModeNtEA(X,00000714) returns 0666
19:21:57:   -> wnt_stat(Xnews.ini)
19:21:57:   -> _statcore(00000000,Xnews.ini)
19:21:57:   -> Trying GetFileAttributesEx....
19:21:57:   -> File attributes = 00000021
19:21:57:   ->  - FILE_ATTRIBUTE_READONLY
19:21:57:   -> GetUnixFileModeNtEA(X,00000714) returns 0666
19:21:57:   -> unlink_file(CVS/Base/Xnews.ini)
19:21:57:   -> unlink_file(CVS/Base/Xnews.ini.gz)
19:21:57:   -> Register(Xnews.ini, 1.11, Mon Dec 12 11:20:38 2005, kv,  
, , , ,
)
Script execution failed
19:21:57:   -> rename(CVS/Entries.Backup,CVS/Entries)
19:21:57:   -> wnt_rename(CVS/Entries.Backup,CVS/Entries)
19:21:57:   -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
19:21:57:   -> wnt_rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
19:21:57:   -> unlink_file(CVS/Entries.Log)
19:21:57:   -> unlink_file(CVS/Entries.Extra.Log)


Any suggestion or idea would be very appreciated.


Regards,
Evan Chou



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