That's because you have a syntax error at line 24, near
# This applies only to
Subversion. It is recommended that tags 
 # are stored in the 'tags' directory, and branches in the   

 # 'branches' directory.  
 

  label_directories"  

If you will look carefully, you will notice that there is a messing comma at 
the end of the binary_paths line just above it.
also, your binary_paths variable should include the path to diff, which you can 
get from the GnuWin32 project.

Tsahi

--
The day Micro$oft sells something that doesn't SUCK
is the day they start selling vacuum cleaners.
http://www.geocities.com/tsahi_75

----- Original Message ----
From: Shamir Snir <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, February 12, 2008 11:36:00
 AM
Subject: [scmbug-users] Urgent configuration problem




 
 

<!--

 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        
{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", 
"sans-serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
p
        {margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"Times 
New Roman", "serif";}
span.EmailStyle18
        {font-family:"Calibri", "sans-serif";color:windowtext;}
.MsoChpDefault
        {font-size:10.0pt;}
_filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {}
_filtered {}
_filtered {font-family:Symbol;}
_filtered {}
_filtered {}
_filtered {}
_filtered {}
_filtered {}
_filtered {}
_filtered {}
_filtered {}
_filtered {}
_filtered {font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->






HI,
 

  
 

We
are attempting to install the SCMBUG in order to integrate Bugzilla 3.0
(installed on Windows) and SVN 1.4 (installed on different windows machine)
 

  
 

After
activating the SCM server service and installing the GLUE we encounter the
following error while attempting to perform a commit.
 

  
 

I
have enclosed the following entries:
 

  
 


 Error log  
 Pre-commit.bat  
 Glue.conf  


  
 

I
would appreciate any advice
 

  
 

Thanks
 

  
 

  
 

Commit
Error
 

  
 

Modified:
Desktop\Work\trunk\test.txt  
 

Sending
content: Desktop\Work\trunk\test.txt  
 

Error:
Commit failed (details follow):  
 

Error:
MERGE request failed on '/svn/svnrepo/vlsi/trunk'  
 

Error:
'pre-commit' hook failed with error output:  
 

Error:
Scmbug notice: ---------------------------------------------------------  
 

Error:
Scmbug notice: Reading configuration  
 

Error:
*******************************************  
 

Error:
**  
 

Error:
**  
 

Error:
** Scmbug error 93: The configuration file
'//s-svn/svn/svnrepo/hooks/etc/scmbug/glue.conf' could not be interpreted
correctly: syntax error at (eval 9) line 24, near "# This applies only to
Subversion. It is   
 

Error:
recommended that tags  
 

Error:
   # are stored in the 'tags' directory, and branches in the  
 

Error:
   # 'branches' directory.  
 

Error:
   label_directories"  
 

Error:
**  
 

Error:
**  
 

Error:
*******************************************  
 

  
 

Pre-commit.bat
file:
 

  
 

"C:/Perl/bin/perl"
-I //s-svn/svn/svnrepo/hooks/lib/scmbug
//s-svn/svn/svnrepo/hooks/bin/scmbug_activity.pl
//s-svn/svn/svnrepo/hooks/etc/scmbug/glue.conf activity_verify
//s-svn/svn/svnrepo %TXN% >&2
 

if
NOT %ERRORLEVEL% == 0 goto scmbug_script_failed 2>nul
 

  
 

GLUE.CONF
 

  
 

$glue_configuration
= { 
 

  
 

   
enabled => 1,
 

   
scm => {
 

           
            name =>
'Subversion',
 

  
 

           
binary_paths => 'C:\Program Files\CVSNT','c:\Program Files\Subversion\bin'
 

  
 

           
label_directories => [
 

           
           
           
      'tags',
 

           
           
           
      'branches'
 

           
           
           
      ],
 

  
 

           
main_trunk_directories => [
 

           
           
           
              
'trunk'
 

           
           
           
              
],
 

  
 

           
consolidate_cvs_messages => 0
 

   
},
 

  
 

   
daemon => {
 

           
location => 's-btt',
 

           
port => 3872,
 

           
},
 

  
 

           

 

   
policies => {
 

  
 

           
log_template => {
 

           
    log_bugid_regex => 'bug\s*([\d|\s|,|#]*?):',
 

           
log_bugid_split_regex => ',\s?#|\s?#|,|\s+',
 

           
    log_body_regex => 'bug.*?:\s*(.*)'
 

           
    },
 

           
resolution_template => {
 

           
    enabled => 1,
 

           
    resolution_bugid_regex => 'status\s*([\d|\s|,|#]*?):',
 

           
    resolution_bugid_split_regex => ',\s?#|\s?#|,|\s+',
 

           
    resolution_status_regex => 'status.*?:\s*(\S+)\s*.*',
 

           
    resolution_status_resolution_regex =>
'status.*?:\s*\S+\s+(\S+)',
 

           
    resolution_status_resolution_data_regex =>
'status.*?:\s*\S+\s+\S+\s+(\S+)',
 

           
resolution_status_case_sensitive_verification => 0,
 

           
    resolution_status_convert => {
 

           
            enabled
=> 1,
 

           
           
resolution_status_convert_from => '_',
 

           
           
resolution_status_convert_to => ' '
 

           
            },
 

           
    resolution_valid_product_name => 1,
 

           
    resolution_valid_bug_owner => 1,
 

           
    },
 

  
 

           
presence_of_bug_ids =>  {
 

           
    value => 'optional'
 

           
    },
 

           
valid_bug_owner => {
 

           
    enabled => 1
 

           
    },
 

  
 

           
anonymous_scm_username => {
 

           
    enabled => 0,
 

           
    value => 'anonymous_scm_user'
 

           
    },
 

  
 

           
open_bug_state => {
 

           
    enabled => 1
 

           
    },
 

  
 

           
minimum_log_message_size => {
 

           
    enabled => 1,
 

           
    size => 50
 

           
    },
 

           
label_name => {
 

           
    enabled => 1,
 

           
    names => [
 

           
           
      '^.+?_RELEASE_[0-9]+-[0-9]+-[0-9]+$',
 

           
           
      '^.+?_BUILD_[0-9]+_.+$',
 

           
           
      '^b_.+$',
 

           
           
      '^p_[a-zA-Z][a-zA-Z]?[a-zA-Z]_.+$'
 

           
           
      ]
 

           
              },
 

           
valid_product_name => {
 

           
    enabled => 1
 

           
    },
 

           
product_name_definition => {
 

           
    type => 'manual',
 

           
    value => 'IT - Help Desk'
 

           
    },
 

           
mail_notification => {
 

           
    mail_on_success => 0,
 

           
    mail_on_failure => 0,
 

           
    mail_settings => {
 

           
            To =>
'[EMAIL PROTECTED]',
 

           
            From =>
'Scmbug <[EMAIL PROTECTED]>',
 

           
            Smtp =>
'replace_with_mail_server.exampledomain.com'
 

           
    },
 

           
    mail_on_label => 1,
 

           
    mail_recipients => {
 

           
           
mail_also_appears_from_scm_user => 1,
 

           
           
mail_scm_user => 1,
 

           
           
mail_bug_owner => 1,
 

           
           
mail_bug_reporter => 1,
 

           
           
mail_bug_monitors => 1,
 

           
           
mail_product_owners => 1
 

           
            }
 

           
}
 

   
}
 

};
 

  
 

  
 

Shamir
 






-----Inline Attachment Follows-----

_______________________________________________
scmbug-users 
mailing 
list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users







      Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.





      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to