|
2007-03-01 17:33 AEST by Arthur Barrett - This is seen in postcommit, eg: sample patch to server.cpp:
Index: src/server.cpp
===================================================================
RCS file: /usr/local/cvs/cvsnt/src/server.c,v
retrieving revision 1.106.2.210
diff -c -r1.106.2.210 server.cpp
***************
*** 6173,6182 ****
--- 6174,6186 ----
TRACE(1,"postcommand_proc()");
+ // should modify this to allow either first or last to be sent to
postcommit
if(cb->postcommit && !strcmp(args->command,"commit"))
ret = cb->postcommit(cb,last_repository?Short_Repository
(last_repository):"");
+ //ret = cb->postcommit(cb,first_repository?Short_Repository
(first_repository):"");
if(!ret && cb->postcommand)
ret = cb->postcommand(cb,last_repository?Short_Repository
(last_repository):"");
+ //ret = cb->postcommand(cb,first_repository?Short_Repository
(first_repository):"");
return ret;
}
|