Home | History | Annotate | Download | only in Scripts

Lines Matching refs:SVN

168         system("svn", "move", $escapedSource, $escapedDestination);
192 system("svn", "propset", "svn:executable", "on", $escapedPath) == 0 or die "Failed to run 'svn propset svn:executable on $escapedPath'.";
204 system("svn", "propdel", "svn:executable", $escapedPath) == 0 or die "Failed to run 'svn propdel svn:executable $escapedPath'.";
229 # if you're in a git-svn checkout. The best suggestions seen so far
231 my $output = `git config --get svn-remote.svn.fetch 2>& 1`;
266 return system("cd $dir && svn info > " . File::Spec->devnull() . " 2>&1") == 0;
284 chomp($svnVersion = `svn --version --quiet`);
323 open INFO, "svn info '$escapedPath' 2> " . File::Spec->devnull() . " |" or die;
363 # Some users have a workflow where svn-create-patch, svn-apply and
364 # svn-unapply are used outside of multiple svn working directores,
385 my $command = "svn info $escapedDir | grep Revision:";
390 my $command = "git log --grep=\"git-svn-id: \" -n 1 | grep git-svn-id:";
394 ($revision) = ($gitLog =~ m/ +git-svn-id: .+@(\d+) /g);
398 warn "Unable to determine current SVN revision in $dir";
411 my $command = "svn info $escapedRelativePath";
415 my $command = "git svn info $relativePath";
575 open SVN, "svn status --non-interactive --non-recursive '$escapedFullPath' |" or die;
577 # When running "svn stat" on a directory, we can't assume that only one
582 while (<SVN>) {
591 # Read the rest of the svn command output to avoid a broken pipe warning.
593 <SVN>;
597 $svnStatus = removeEOL(<SVN>) . "\n";
599 close SVN;
607 # the default behavior in Git and SVN.
648 # svnConvertedText: the header text with some lines converted to SVN
664 $_ = "Index: $indexPath$POSTMATCH"; # Convert to SVN format.
697 # This will simplify adding rename support to svn-unapply.
701 # permit us to use "svn move" and "git move".
705 $_ = "--- $indexPath"; # Convert to SVN format.
707 $_ = "+++ $indexPath"; # Convert to SVN format.
744 # Parse the next SVN diff header from the given file handle, and advance
780 die("First line of SVN diff does not begin with \"Index \": \"$_\"");
803 # The "from" clause is created by svn-create-patch, in
814 # SVN 1.7 has an unusual display format for a binary diff. It repeats the first
819 # svn:mime-type = application/octet-stream
828 # that begins with "+++" (SVN 1.7 or greater) or an empty line (SVN version less
863 # line of the header to parse. For SVN-formatted diffs, this
879 # isSvn: the value 1 if the diff is SVN-formatted.
883 # svnConvertedText: the header text with some lines converted to SVN
914 # that, if necessary, the text of an SVN or Git patch can be
929 # indexPath: the path of the target file. For SVN-formatted diffs,
935 # isSvn: the value 1 if the diff is SVN-formatted.
939 # svnConvertedText: the diff with some lines converted to SVN format.
942 # Parse one diff from a patch file created by svn-create-patch, and
948 # Composition of an SVN diff
950 # There are three parts to an SVN diff: the header, the property change, and
977 my $headerStartRegEx = $svnDiffStartRegEx; # SVN-style header for the default
980 my $svnPropertiesHashRef; # Last SVN properties diff found, as returned by parseSvnDiffProperties().
988 # all diffs in the patch are formatted the same (SVN or Git).
1029 # Then either we just processed an SVN property change or this
1074 # SVN records the change to the executable bit in a separate property change diff
1096 # Note, we may not always have SVN converted text since we intend
1099 # any SVN converted text.
1117 # Parse an SVN property change diff from the given file handle, and advance
1120 # For the case of an SVN binary diff, the binary contents will follow the
1133 # $propertyHashRef: a hash reference representing an SVN diff footer.
1148 die("Failed to find start of SVN property change, \"Property changes on \": \"$_\"");
1156 # Added: svn:executable
1166 # FIXME: We should expand this to support other SVN properties
1177 if ($propertyHashRef->{name} eq "svn:executable") {
1178 # Notice, for SVN properties, propertyChangeDelta is always non-zero
1187 # Parse the next SVN property from the given file handle, and advance the handle so the last
1190 # This subroutine dies if the first line is not a valid start of an SVN property,
1201 # $propertyHashRef: a hash reference representing a SVN property.
1222 die("Failed to find SVN property: \"$_\".");
1228 # FIXME: We should validate the chunk range line that is part of an SVN 1.7
1233 # The "svn diff" command neither inserts newline characters between property values
1236 # As of SVN 1.7, "svn diff" may insert "\ No newline at end of property" after a
1258 die("Failed to find the property value for the SVN property \"$propertyName\": \"$_\".");
1291 # Parse the value of an SVN property from the given file handle, and advance
1294 # This subroutine dies if the first line is an invalid SVN property value line
1342 # Parse a patch file created by svn-create-patch.
1376 # Prepare the results of parsePatch() for use in svn-apply and svn-unapply.
1506 # Applying this subroutine to ChangeLog patches allows svn-apply to
1508 # svn-apply uses patch with --fuzz=3 to do this. We need to apply
1754 # an svn update.
2107 my $command = "git svn find-rev r" . $svnRevision;
2112 warn "Unable to determine GIT commit from SVN revision";
2138 $command = "svn diff --summarize -r $firstRevision:$lastRevision";