Created Codestriker topic at:
http://codestriker.sourceforge.net/cgi-bin/codestriker.pl?topic=7515485&action=view
User: sits
Date: 05/07/24 02:49:50
Modified: lib/Codestriker/FileParser PerforceDescribe.pm
Added: test/testtopictexts perforce-diff13.txt
Log:
Handle perforce describe case where there was only an added file.
Index: PerforceDescribe.pm
===================================================================
RCS file:
/cvsroot/codestriker/codestriker/lib/Codestriker/FileParser/PerforceDescribe.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- PerforceDescribe.pm 20 Jul 2005 00:39:47 -0000 1.4
+++ PerforceDescribe.pm 24 Jul 2005 09:49:48 -0000 1.5
@@ -91,7 +91,6 @@
# Skip the lines until the first diff chunk.
while (defined($line) && $line !~ /^==== /) {
$line = <$fh>;
- return () unless defined $line;
}
# Now read the actual diff chunks. Any entries not here will be added
Index: perforce-diff13.txt
===================================================================
RCS file: perforce-diff13.txt
diff -N perforce-diff13.txt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ perforce-diff13.txt 24 Jul 2005 09:49:49 -0000 1.1
@@ -0,0 +1,10 @@
+Change 3 by [EMAIL PROTECTED] on 2004/03/15 19:27:56
+
+ An example of a significant change, with new, modified and deleted
+ files, plus binary files too.
+
+Affected files ...
+
+... //depot/lib/Codestriker/Action/RepositoryFactory.pm#1 add
+
+Differences ...
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits