mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Use cvs -Q release, instead of cvs release -Q, for removing the
modules module.
This commit is contained in:
parent
18e73f4fb6
commit
9f5ae2b97b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13163
@ -8,7 +8,7 @@
|
||||
#
|
||||
# Written by Jörg Wunsch, 95/03/07, and placed in the public domain.
|
||||
#
|
||||
# $Id: easy-import.pl,v 1.3 1995/07/23 17:34:00 joerg Exp $
|
||||
# $Id: easy-import.pl,v 1.4 1995/12/11 00:45:43 peter Exp $
|
||||
|
||||
require "complete.pl";
|
||||
require "getopts.pl";
|
||||
@ -22,7 +22,7 @@ sub scan_opts
|
||||
|
||||
$dont_do_it = "-n" if $opt_n;
|
||||
if($opt_v) {
|
||||
print STDERR '$Source: /home/ncvs/src/gnu/usr.bin/cvs/contrib/easy-import.pl,v $ $Revision: 1.3 $' . "\n"; # 'emacs kludge
|
||||
print STDERR '$Source: /home/ncvs/src/gnu/usr.bin/cvs/contrib/easy-import.pl,v $ $Revision: 1.4 $' . "\n"; # 'emacs kludge
|
||||
exit 0;
|
||||
}
|
||||
die "usage: $0 [-v] [-n] [moduledir]\n" .
|
||||
@ -364,7 +364,7 @@ system("cvs $dont_do_it commit -m \" " .
|
||||
"${modname} --> $area/${modpath}\" modules")
|
||||
&& die "Commit failed\n";
|
||||
|
||||
system("cvs $dont_do_it release -dQ modules");
|
||||
system("cvs $dont_do_it -Q release -d modules");
|
||||
|
||||
print "${so}Importing source. Enter a commit message in the editor.${se}\n";
|
||||
|
||||
@ -381,7 +381,7 @@ print <<END
|
||||
${so}Since you did not allow to commit anything, you'll have${se}
|
||||
${so}to remove the edited modules' database yourself.${se}
|
||||
${so}To do this, perform a${se}
|
||||
${us}cd ${moduledir}; cvs release -dQ modules${ue}
|
||||
${us}cd ${moduledir}; cvs -Q release -d modules${ue}
|
||||
${so}command.${se}
|
||||
END
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user