Topic Text   Topic Comments (10)   Topic Properties   Topic Information sits@use...
Topic title: CVS commit: * Update CVS diff parser to handle rdiffs whi... Tuesday April 11, 2006 16:47:08

Download topic text | View in monospace font | Tab width set to 8 (change to 4)

Files in topic:  
[Jump to] codestriker/CHANGELOG  1.183   {+3,-0}
[Jump to] codestriker/lib/Codestriker.pm  1.81   {+1,-1}
[Jump to] codestriker/lib/Codestriker/FileParser/CvsUnidiff.pm  1.11   {+3,-0}
[Jump to] cvs-diff25.txt   {+18,-0}

[Add General Comment] to topic.

File codestriker/CHANGELOG (Revision 1.183) [Add File Comment] [Top] [>>]
 
Line 11 | Parallel Line 11 | Parallel
11 URL. See the codestriker.conf file for more information. 11 URL. See the codestriker.conf file for more information.
12 Submitted by Edwin Fine <edwin.m.fine@verizon.com>. 12 Submitted by Edwin Fine <edwin.m.fine@verizon.com>.
13 13
14 * Update CVS diff parser to handle rdiffs which have new/removed files
15 in them.
16
14 * Creating a topic with an invalid bug ID is now shown as an error to 17 * Creating a topic with an invalid bug ID is now shown as an error to
15 the user on the create topic screen. 18 the user on the create topic screen.
16 19
 
File codestriker/lib/Codestriker.pm (Revision 1.81) [Add File Comment] [<<] [Top] [>>]
 
Line 28 | Parallel Line 28 | Parallel
28 ); 28 );
29 29
30 # Version of Codestriker. 30 # Version of Codestriker.
31 $Codestriker::VERSION = "1.9.2"; 31 $Codestriker::VERSION = "1.9.2-alpha-3";
32 32
33 # Default title to display on each Codestriker screen. 33 # Default title to display on each Codestriker screen.
34 $Codestriker::title = "Codestriker $Codestriker::VERSION"; 34 $Codestriker::title = "Codestriker $Codestriker::VERSION";
 
File codestriker/lib/Codestriker/FileParser/CvsUnidiff.pm (Revision 1.11) [Add File Comment] [<<] [Top] [>>]
 
Line 134 | Parallel Line 134 | Parallel
134 } elsif ($line =~ /^\-\-\- \/dev\/null/o) { 134 } elsif ($line =~ /^\-\-\- \/dev\/null/o) {
135 # File has been added. 135 # File has been added.
136 $revision = $Codestriker::ADDED_REVISION; 136 $revision = $Codestriker::ADDED_REVISION;
137 } elsif ($line =~ /^\-\-\- nul/o) {
138 # File has been added.
139 $revision = $Codestriker::ADDED_REVISION;
137 } elsif ($line =~ /^\-\-\- (.*):(\d+\.[\d\.]+)\t/) { 140 } elsif ($line =~ /^\-\-\- (.*):(\d+\.[\d\.]+)\t/) {
138 # This matchs a cvs rdiff file, extract the filename and revision. 141 # This matchs a cvs rdiff file, extract the filename and revision.
139 # It is assumed to match the repository specified, although there 142 # It is assumed to match the repository specified, although there
 
File cvs-diff25.txt (Revision 1.0) [Add File Comment] [<<] [Top]
 
1 Index: stefan/file1.c
2 diff -u stefan/file1.c:1.1 stefan/file1.c:1.2
3 --- stefan/file1.c:1.1 Tue Mar 28 18:56:25 2006
4 +++ stefan/file1.c Tue Mar 28 18:58:06 2006
5 @@ -1,3 +1,4 @@
6 int main() {
7 + /* some changes */
8 return 0;
9 }
10 Index: stefan/file2.c
11 diff -u nul stefan/file2.c:1.1
12 --- nul Tue Mar 28 19:05:47 2006
13 +++ stefan/file2.c Tue Mar 28 18:57:31 2006
14 @@ -0,0 +1,3 @@
15 +int main() {
16 + return 0;
17 +}
18 \ No newline at end of file
 
  
Legend:
Removed 
Changed
 Added

[Add General Comment] to topic.