User: sits
Date: 08/06/16 23:51:38
Modified: lib/Codestriker/FileParser SubversionDiff.pm
. CHANGELOG
Log:
* Updated the Subversion diff parser so that it correctly identifies new
files, rather than treating them as modified files.
Index: SubversionDiff.pm
===================================================================
RCS file:
/cvsroot/codestriker/codestriker/lib/Codestriker/FileParser/SubversionDiff.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SubversionDiff.pm 18 Aug 2007 04:54:08 -0000 1.8
+++ SubversionDiff.pm 17 Jun 2008 06:51:37 -0000 1.9
@@ -113,7 +113,7 @@
# Try and read the base revision this change is against,
# while handling new and removed files.
my $base_revision = -1;
- if ($line =~ /^\-\-\- .*\s.* (\d+)/io) {
+ if ($line =~ /^\-\-\- .*\s.*\(.*?(\d+)\)/io) {
$base_revision = $1;
} elsif ($line !~ /^\-\-\- .*/io) {
return ();
Index: CHANGELOG
===================================================================
RCS file: /cvsroot/codestriker/codestriker/CHANGELOG,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -r1.228 -r1.229
--- CHANGELOG 16 Jun 2008 07:37:07 -0000 1.228
+++ CHANGELOG 17 Jun 2008 06:51:38 -0000 1.229
@@ -38,7 +38,10 @@
* Added support for LXR 0.9.5, which renamed the database tables to
contain an lxr_ prefix by default. Support for older LXR databases
will still work by default. LXR entities are now rendered in black text,
- the same as program code, but an underline is shown when hovered over.
+ the same as program code, but an underline is shown when hovered over.
+
+* Updated the Subversion diff parser so that it correctly identifies new
+ files, rather than treating them as modified files.
Version 1.9.4
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits