Skip to content
Browse files

Fix the 'git log' call in VCSUtils.pm for Windows

https://bugs.webkit.org/show_bug.cgi?id=94113

Patch by Kevin Funk <kevin.funk@kdab.com> on 2012-08-15
Reviewed by Kenneth Rohde Christiansen.

Failed because of invalid enquoting characters.

* Scripts/VCSUtils.pm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information...
1 parent 8014820 commit 64f6bf60683dbec91128edbcbffea9c65415d200 commit-queue committed
Showing with 12 additions and 1 deletion.
  1. +11 −0 Tools/ChangeLog
  2. +1 −1 Tools/Scripts/VCSUtils.pm
View
11 Tools/ChangeLog
@@ -1,3 +1,14 @@
+2012-08-15 Kevin Funk <kevin.funk@kdab.com>
+
+ Fix the 'git log' call in VCSUtils.pm for Windows
+ https://bugs.webkit.org/show_bug.cgi?id=94113
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Failed because of invalid enquoting characters.
+
+ * Scripts/VCSUtils.pm:
+
2012-08-14 Gustavo Noronha Silva <gns@gnome.org>
[jhbuild] move md5sum checking to update-webkit-libs-jhbuild
View
2 Tools/Scripts/VCSUtils.pm
@@ -383,7 +383,7 @@ sub svnRevisionForDirectory($)
my $svnInfo = `$command`;
($revision) = ($svnInfo =~ m/Revision: (\d+).*/g);
} elsif (isGitDirectory($dir)) {
- my $command = "git log --grep='git-svn-id: ' -n 1 | grep git-svn-id:";
+ my $command = "git log --grep=\"git-svn-id: \" -n 1 | grep git-svn-id:";
$command = "LC_ALL=C $command" if !isWindows();
$command = "cd $dir && $command";
my $gitLog = `$command`;

0 comments on commit 64f6bf6

Please sign in to comment.
Something went wrong with that request. Please try again.