Hi Tsahi,

http://bugzilla.mkgnu.net/show_bug.cgi?id=1083

On Wed, 2007-12-19 at 07:37 -0800, Tsahi Asher wrote:
> with version 0.23.0, i get the following error when trying to tag in 
> subversion:
> scmbug error 7: tag could not be added on product '' because no product with 
> that name exist
> 
> (note that these are two apostrophes and not a double quote)
> 
> i have a standard trunk/branches/tags/ structure, under a root project folder 
> in the repository.
> i turned off product checks in valid_product_name. product_name_definition is 
> type => 'auto', value => 'Fantasy.NET,FantasyACC,FantasyMFG' (where 
> FantasyMFG is the name of the root folder in SVN that contains the tags 
> folder.
> 
> what is wrong? i recently upgraded from 0.22.1, perhaps i overridden 
> something in the upgrade?

valid_product_name and product_name_definition are two different
policies. Even if you don't want to verify the product name (hence you
disable the valid_product_name policy) product_name_definition still
executes. This is indicated  in the description of
product_name_definition:

 # This policy is ALWAYS enabled
        product_name_definition => {


So the problem in this case is that you misconfigured
product_name_definition so that the product name is never detected. One
correct configuration is:

 product_name_definition => {
            type => 'manual',
            value => '(Fantasy.+?)/'
            },

This is better explained in:

http://files.mkgnu.net/files/scmbug/SCMBUG_RELEASE_0-23-0/manual/html-single/manual.html#FIG-PRODUCT-NAME-DEFINITION-AUTO

I hope this fixes this problem.

Kristis

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to