Brief summary: trying to hack scmbug so that when using CVS 1.12.x it autodetects product names, thus making it possible to use multiple product names in one repository.
I've fixed CVS.pm so that, if the version is 1.12 (or more strictly, if is_version_latest() is 1), it calls activity()->prepare_product_name() on verifies and commits (almost certainly need to do this on tags as well, but I haven't got that far yet). I've sent Kristis a patch for this. However, I'm now stuck because what prepare_product_name() does is call autodetect_product_name(), and what autodetect_product_name() does is iterate over the files on the activity; and I'm not getting any files set on the activity. I've reviewed Subversion.pm trying to understand how activity->files() is initialised there, but I don't read Perl well enough and I haven't understood. So, briefly, I need to work out what I need to do to make sure that the files instance variable/slot/member or whatever you call it in Perl actually gets initialised. Any help or advice gratefully received. Simon Simon Brooke, Software Specialist Cygnet Solutions Ltd Registered office: Swan House, Darvel, Ayrshire, Scotland, KA17 0LP Registered in Scotland No. SC158059 mail: [EMAIL PROTECTED] www: http://www.cygnets.co.uk tel: +44(0)1560 323444 fax: +44(0)1560 323432 _______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
