User: sits
Date: 08/07/21 17:57:50
Modified: . CHANGELOG
lib/Codestriker/Repository ScmBug.pm
Log:
* Scmbug integration now works correctly if multiple bug IDs are
specified is the create topic screen. Fixed by
[EMAIL PROTECTED]
Index: CHANGELOG
===================================================================
RCS file: /cvsroot/codestriker/codestriker/CHANGELOG,v
retrieving revision 1.246
retrieving revision 1.247
diff -u -r1.246 -r1.247
--- CHANGELOG 22 Jul 2008 00:50:44 -0000 1.246
+++ CHANGELOG 22 Jul 2008 00:57:49 -0000 1.247
@@ -23,7 +23,11 @@
* Better detection of filename extensions for highlighting. This
previously caused issues for temporary directories which contained
a period, but the filename itself didn't. Reported by
- [EMAIL PROTECTED]
+ [EMAIL PROTECTED]
+
+* Scmbug integration now works correctly if multiple bug IDs are
+ specified is the create topic screen. Fixed by
+ [EMAIL PROTECTED]
Version 1.9.5
Index: ScmBug.pm
===================================================================
RCS file:
/cvsroot/codestriker/codestriker/lib/Codestriker/Repository/ScmBug.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ScmBug.pm 22 Feb 2008 00:32:07 -0000 1.2
+++ ScmBug.pm 22 Jul 2008 00:57:49 -0000 1.3
@@ -58,7 +58,11 @@
sub getDiff {
my ($self, $bugids, $stdout_fh, $stderr_fh, $default_to_head) = @_;
- my $affected_files_list = $self->{scmbug}->get_affected_files( $bugids );
+ # Remove spaces from the comma-separated list of bug ids so that
+ # "123, 456" is transformed to "123,456" which is the form
+ # Scmbug::ActivityUtilities expects.
+ $bugids =~ s/ //g;
+ my $affected_files_list = $self->{scmbug}->get_affected_files($bugids);
foreach my $changeset ( @{ $affected_files_list } ) {
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits