1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

- Update to 0.25

- This is a bugfix version, the patch introducted
  in last update has in the release.

PR:		ports/73120
Submitted by:	Rong-En Fan (maintainer)
Approved by:	co-mentor (vanilla)
This commit is contained in:
Cheng-Lung Sung 2004-10-25 16:23:24 +00:00
parent b983883ec3
commit d52e782b05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120167
3 changed files with 3 additions and 41 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= svk
PORTVERSION= 0.23
PORTVERSION= 0.25
PORTREVISION= 0
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}

View File

@ -1,2 +1,2 @@
MD5 (SVK-0.23.tar.gz) = b0b0663c92fa5ed10641ea0052459cc0
SIZE (SVK-0.23.tar.gz) = 180810
MD5 (SVK-0.25.tar.gz) = a3aa6768f092970a8df032cb4c8aa1c0
SIZE (SVK-0.25.tar.gz) = 183533

View File

@ -1,38 +0,0 @@
Index: lib/SVK/Command/Propset.pm
===================================================================
--- lib/SVK/Command/Propset.pm (revision 704)
+++ lib/SVK/Command/Propset.pm (revision 705)
@@ -31,15 +31,15 @@
sub do_propset_direct {
my ($self, $target, $propname, $propvalue) = @_;
- my $fs = $target->{repos}->fs;
if ($self->{revprop}) {
+ my $fs = $target->{repos}->fs;
my $rev = (defined($self->{rev}) ? $self->{rev} : $target->{revision});
$fs->change_rev_prop ($rev, $propname => $propvalue);
print loc("Property '%1' set on repository revision %2.\n", $propname, $rev);
return;
}
- my $root = $fs->revision_root ($fs->youngest_rev);
+ my $root = $target->root;
my $kind = $root->check_path ($target->path);
die loc("path %1 does not exist.\n", $target->path) if $kind == $SVN::Node::none;
@@ -53,13 +53,13 @@
$editor->change_dir_prop ($editor->{_root_baton}, $propname, $propvalue);
}
else {
- my $baton = $editor->open_directory ($path, 0, -1);
+ my $baton = $editor->open_directory ($path, 0, $target->{revision});
$editor->change_dir_prop ($baton, $propname, $propvalue);
$editor->close_directory ($baton);
}
}
else {
- my $baton = $editor->open_file ($path, 0, -1);
+ my $baton = $editor->open_file ($path, 0, $target->{revision});
$editor->change_file_prop ($baton, $propname, $propvalue);
$editor->close_file ($baton, undef);
}