diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2014-04-06 15:11:09 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2014-04-06 15:11:09 +0000 |
commit | 0318479619b5cf182730fed1f7dccc93568f7af1 (patch) | |
tree | b3dfaa1f32963c3dd65e25b3772bfa7bf4b61a86 /Tools | |
parent | - Update to 4.2.1 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=350364
Diffstat (limited to 'Tools')
-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 +} |