diff options
author | gerald <gerald@FreeBSD.org> | 2014-04-06 23:11:09 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2014-04-06 23:11:09 +0800 |
commit | eb6bf5f66d3054a2292c63acc5dd24f55240c45d (patch) | |
tree | b3dfaa1f32963c3dd65e25b3772bfa7bf4b61a86 /Tools/scripts | |
parent | ed1628ab567a38d09aee907d86017f12e7331e21 (diff) | |
download | freebsd-ports-gnome-eb6bf5f66d3054a2292c63acc5dd24f55240c45d.tar.gz freebsd-ports-gnome-eb6bf5f66d3054a2292c63acc5dd24f55240c45d.tar.zst freebsd-ports-gnome-eb6bf5f66d3054a2292c63acc5dd24f55240c45d.zip |
Only show the final instructions on how to do the actual commit when
doing the real job, not for a dry run. Tweak those instructions a bit.
Assume maintainership.
Approved by: edwin (maintainer)
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/bump_revision.pl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Tools/scripts/bump_revision.pl b/Tools/scripts/bump_revision.pl index 33601a932321..3e9aa88c9419 100755 --- a/Tools/scripts/bump_revision.pl +++ b/Tools/scripts/bump_revision.pl @@ -3,7 +3,7 @@ # $FreeBSD$ # -# MAINTAINER= edwin@freebsd.org +# MAINTAINER= gerald@FreeBSD.org # use Getopt::Std; @@ -198,13 +198,15 @@ unless ($opt_n) { # # Commit the changes. Not automated. # -print <<EOF; -All PORTREVISIONs have been updated. You are nearly done, only one thing -remains: The committing to the ports tree. This program is not going to do -that for you, you have to do it manually. +unless ($opt_c) { + print <<EOF; +All PORTREVISIONs have been updated. You are nearly done, only one +thing remains: Committing to the ports tree. This program is not +going to do that for you, you have to do it manually. \$ cd $TMPDIR \$ svn commit - + Then, remove the temp directory ($TMPDIR). EOF +} |