Home | History | Annotate | Download | only in Scripts

Lines Matching refs:svn

143     return -d File::Spec->catdir($dir, ".svn");
161 chomp($svnVersion = `svn --version --quiet`);
199 open INFO, "svn info '$path' 2> " . File::Spec->devnull() . " |" or die;
239 # Some users have a workflow where svn-create-patch, svn-apply and
240 # svn-unapply are used outside of multiple svn working directores,
255 my $svnInfo = `LC_ALL=C svn info $dir | grep Revision:`;
258 my $gitLog = `cd $dir && LC_ALL=C git log --grep='git-svn-id: ' -n 1 | grep git-svn-id:`;
259 ($revision) = ($gitLog =~ m/ +git-svn-id: .+@(\d+) /g);
261 die "Unable to determine current SVN revision in $dir" unless (defined $revision);
272 $svnInfo = `LC_ALL=C svn info $relativePath`;
274 $svnInfo = `LC_ALL=C git svn info $relativePath`;
336 open SVN, "svn status --non-interactive --non-recursive '$fullPath' |" or die;
338 # When running "svn stat" on a directory, we can't assume that only one
343 while (<SVN>) {
352 # Read the rest of the svn command output to avoid a broken pipe warning.
354 <SVN>;
358 $svnStatus = removeEOL(<SVN>) . "\n";
360 close SVN;
364 # Convert a line of a git-formatted patch to SVN format, while
396 # next diff header. For SVN-formatted diffs, this is the
408 # svnConvertedText: the header text converted to SVN format.
450 # The "from" clause is created by svn-create-patch, in
484 # Parse one diff from a patch file created by svn-create-patch, and
503 # svnConvertedText: the diff converted to SVN format.
509 my $headerStartRegEx = qr#^Index: #; # SVN-style header for the default
518 # all diffs in the patch are formatted the same (SVN or Git).
548 # Parse a patch file created by svn-create-patch.
589 # Applying this subroutine to ChangeLog patches allows svn-apply to
591 # svn-apply uses patch with --fuzz=3 to do this. We need to apply