[cvsnt] modules2 bug

Clovis Garcia clovis at phoebus.com.br
Sun Feb 19 13:56:24 GMT 2006


I´m trying to define virtual modules but it is not working very well. 
Take a loo at the example below and the trace pieces where the problem 
occurs. At the folder "Qualidade" there is only a file named "empty" and 
no other sub-directory. Below there is 3 different examples using the 
same structure:


[Negócios]
Gestão    = "Diretoria de Negócios"
Diretoria = "Diretoria Executiva"
Qualidade = Qualidade


cvs server: Updating Negócios/Qualidade
10:45:48: S -> RCS_checkout (/PhSGQ/Qualidade/empty,v, 1.2, , (function))
10:45:48: S -> server_register(empty, 1.2, , , , , , , , , )
10:45:48: S -> Register(empty, 1.2, , ,  , , , , )
U Negócios/Qualidade/empty
10:45:48: S -> Create_Admin (Diretoria, Negócios/Qualidade/Diretoria, 
D:/cvs/PhSGQ/Negócios/Qualidade/Diretoria, , , 0, 0)
10:45:48: S -> run_trigger()
10:45:48: S -> Call pre-loaded 'audit_trigger.dll'
10:45:48: S -> template_proc(Negócios/Qualidade/Diretoria)
10:45:48: S -> get_template returned failure
10:45:48: S -> Call pre-loaded 'default_trigger.dll'
10:45:48: S -> template_proc(Negócios/Qualidade/Diretoria)
10:45:48: S -> get_template returned failure
10:45:48: S -> unlink_file(Diretoria/CVS/Entries.Static)
cvs server: Updating Negócios/Qualidade/Diretoria
cvs server: cannot open directory /PhSGQ/Qualidade/Diretoria: No such 
file or directory
cvs server: skipping directory Negócios/Qualidade/Diretoria
10:45:48: S -> unlink_file_dir(Diretoria)
10:45:49: S -> Create_Admin (Gestão, Negócios/Qualidade/Gestão, 
D:/cvs/PhSGQ/Negócios/Qualidade/Gestão, , , 0, 0)
10:45:49: S -> run_trigger()
10:45:49: S -> Call pre-loaded 'audit_trigger.dll'
10:45:49: S -> template_proc(Negócios/Qualidade/Gestão)
10:45:49: S -> get_template returned failure
10:45:49: S -> Call pre-loaded 'default_trigger.dll'
10:45:49: S -> template_proc(Negócios/Qualidade/Gestão)
10:45:49: S -> get_template returned failure
10:45:49: S -> unlink_file(Gestão/CVS/Entries.Static)
cvs server: Updating Negócios/Qualidade/Gestão
cvs server: cannot open directory /PhSGQ/Qualidade/Gestão: No such file 
or directory
cvs server: skipping directory Negócios/Qualidade/Gestão
10:45:49: S -> unlink_file_dir(Gestão)
10:45:49: S -> Create_Admin (Qualidade, Negócios/Qualidade/Qualidade, 
D:/cvs/PhSGQ/Negócios/Qualidade/Qualidade, , , 0, 0)
10:45:49: S -> run_trigger()
10:45:49: S -> Call pre-loaded 'audit_trigger.dll'
10:45:49: S -> template_proc(Negócios/Qualidade/Qualidade)
10:45:49: S -> get_template returned failure
10:45:49: S -> Call pre-loaded 'default_trigger.dll'
10:45:49: S -> template_proc(Negócios/Qualidade/Qualidade)
10:45:49: S -> get_template returned failure
10:45:49: S -> unlink_file(Qualidade/CVS/Entries.Static)
cvs server: Updating Negócios/Qualidade/Qualidade
cvs server: cannot open directory /PhSGQ/Qualidade/Qualidade: No such 
file or directory
cvs server: skipping directory Negócios/Qualidade/Qualidade



With the same struct, just changing the name from "Negócios" to "Neg" no 
problem occurs:


[Neg]
Gestão    = "Diretoria de Negócios"
Diretoria = "Diretoria Executiva"
Qualidade = Qualidade



cvs server: Updating Neg/Qualidade
10:51:11: S -> RCS_checkout (/PhSGQ/Qualidade/empty,v, 1.2, , (function))
10:51:11: S -> server_register(empty, 1.2, , , , , , , , , )
10:51:11: S -> Register(empty, 1.2, , ,  , , , , )
U Neg/Qualidade/empty
10:51:11: S -> rename(CVS/Entries.Backup,CVS/Entries)
10:51:11: S -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
10:51:11: S -> unlink_file(CVS/Entries.Log)
10:51:11: S -> unlink_file(CVS/Entries.Extra.Log)
10:51:11: S -> unlink_file_dir(Qualidade)
10:51:11: S -> rename(CVS/Entries.Backup,CVS/Entries)
10:51:11: S -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
10:51:11: S -> unlink_file(CVS/Entries.Log)
10:51:11: S -> unlink_file(CVS/Entries.Extra.Log)
10:51:11: S -> rename(CVS/Entries.Backup,CVS/Entries)
10:51:11: S -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
10:51:11: S -> unlink_file(CVS/Entries.Log)
10:51:11: S -> unlink_file(CVS/Entries.Extra.Log)
10:51:11: S -> run_trigger()
10:51:11: S -> Call pre-loaded 'audit_trigger.dll'
10:51:11: S -> postmodule_proc(Neg)
10:51:11: S -> Call pre-loaded 'default_trigger.dll'
10:51:11: S -> postmodule_proc(Neg)
10:51:11: S -> run_trigger()
10:51:11: S -> Call pre-loaded 'audit_trigger.dll'
10:51:11: S -> postcommand_proc()
10:51:11: S -> Call pre-loaded 'default_trigger.dll'
10:51:11: S -> postcommand_proc()



Thinking it was related with the accent, I´ve tried to change the name 
from "Negócios" to "Negocios" but the problem occurred again:

[Negocios]
Gestão    = "Diretoria de Negócios"
Diretoria = "Diretoria Executiva"
Qualidade = Qualidade





cvs server: Updating Negocios/Qualidade
10:53:59: S -> RCS_checkout (/PhSGQ/Qualidade/empty,v, 1.2, , (function))
10:54:00: S -> server_register(empty, 1.2, , , , , , , , , )
10:54:00: S -> Register(empty, 1.2, , ,  , , , , )
U Negocios/Qualidade/empty
10:54:00: S -> Create_Admin (Diretoria, Negocios/Qualidade/Diretoria, 
D:/cvs/PhSGQ/Negocios/Qualidade/Diretoria, , , 0, 0)
10:54:00: S -> run_trigger()
10:54:00: S -> Call pre-loaded 'audit_trigger.dll'
10:54:00: S -> template_proc(Negocios/Qualidade/Diretoria)
10:54:00: S -> get_template returned failure
10:54:00: S -> Call pre-loaded 'default_trigger.dll'
10:54:00: S -> template_proc(Negocios/Qualidade/Diretoria)
10:54:00: S -> get_template returned failure
10:54:00: S -> unlink_file(Diretoria/CVS/Entries.Static)
cvs server: Updating Negocios/Qualidade/Diretoria
cvs server: cannot open directory /PhSGQ/Qualidade/Diretoria: No such 
file or directory
cvs server: skipping directory Negocios/Qualidade/Diretoria
10:54:00: S -> unlink_file_dir(Diretoria)
10:54:00: S -> Create_Admin (Gestão, Negocios/Qualidade/Gestão, 
D:/cvs/PhSGQ/Negocios/Qualidade/Gestão, , , 0, 0)
10:54:00: S -> run_trigger()
10:54:00: S -> Call pre-loaded 'audit_trigger.dll'
10:54:00: S -> template_proc(Negocios/Qualidade/Gestão)
10:54:00: S -> get_template returned failure
10:54:00: S -> Call pre-loaded 'default_trigger.dll'
10:54:00: S -> template_proc(Negocios/Qualidade/Gestão)
10:54:00: S -> get_template returned failure
10:54:00: S -> unlink_file(Gestão/CVS/Entries.Static)
cvs server: Updating Negocios/Qualidade/Gestão
cvs server: cannot open directory /PhSGQ/Qualidade/Gestão: No such file 
or directory
cvs server: skipping directory Negocios/Qualidade/Gestão
10:54:00: S -> unlink_file_dir(Gestão)
10:54:00: S -> Create_Admin (Qualidade, Negocios/Qualidade/Qualidade, 
D:/cvs/PhSGQ/Negocios/Qualidade/Qualidade, , , 0, 0)
10:54:00: S -> run_trigger()
10:54:00: S -> Call pre-loaded 'audit_trigger.dll'
10:54:00: S -> template_proc(Negocios/Qualidade/Qualidade)
10:54:00: S -> get_template returned failure
10:54:00: S -> Call pre-loaded 'default_trigger.dll'
10:54:00: S -> template_proc(Negocios/Qualidade/Qualidade)
10:54:00: S -> get_template returned failure
10:54:00: S -> unlink_file(Qualidade/CVS/Entries.Static)
cvs server: Updating Negocios/Qualidade/Qualidade
cvs server: cannot open directory /PhSGQ/Qualidade/Qualidade: No such 
file or directory
cvs server: skipping directory Negocios/Qualidade/Qualidade



More information about the cvsnt mailing list