Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
1eaef2bb
Commit
1eaef2bb
authored
Jul 30, 2007
by
Leigh B. Stoller
Browse files
After import, set -kb on everything to avoid keyword substitution.
parent
b084a3c8
Changes
2
Show whitespace changes
Inline
Side-by-side
tbsetup/template_create.in
View file @
1eaef2bb
...
...
@@ -599,6 +599,10 @@ if (!$modify || $needrepoinit) {
"
-m 'Commit initial import back to head'
")
==
0
or
fatal
(
-
1
,
"
Could not commit to
$cvsdir
");
# No keyword subst.
System
("
cd
$tmpdir
;
$CVSBIN
-Q -d
$cvsdir
admin -kb
")
==
0
or
fatal
(
-
1
,
"
Could not set -kb in
$cvsdir
");
#
# Now tag the CVS repo with the current guid/vers so we can find it easily.
#
...
...
@@ -696,6 +700,10 @@ else {
System
("
cd
$tmpdir
;
$CVSBIN
-d
$cvsdir
admin -b
")
==
0
or
fatal
(
-
1
,
"
Could not clear default branch in
$cvsdir
");
# No keyword subst.
System
("
cd
$tmpdir
;
$CVSBIN
-Q -d
$cvsdir
admin -kb
")
==
0
or
fatal
(
-
1
,
"
Could not set -kb in
$cvsdir
");
#
# Now tag the CVS repo with the current guid/vers so we can
# find it easily.
...
...
tbsetup/template_exprun.in
View file @
1eaef2bb
...
...
@@ -101,6 +101,8 @@ my $archcontrol = "$TB/bin/archive_control";
my
$eventcontrol
=
"
$TB
/bin/eventsys_control
";
my
$tevc
=
"
$TB
/bin/tevc
";
my
$CVSBIN
=
"
/usr/bin/cvs
";
my
$FIND
=
"
/usr/bin/find
";
my
$RCS
=
"
/usr/bin/rcs
";
# Protos
sub
ParseArgs
();
...
...
@@ -552,6 +554,14 @@ if (defined($instance->runidx())) {
symlink
(
$linkvalue
,
"
$instance_dir
/
$pathname
");
}
# No keyword subst.
System
("
$FIND
$cvsdir
/
$guid
/records/
$exptidx
,
$runidx
"
.
"
-name '*,v' -print -exec
$RCS
-q -kb '{}'
\\
;
")
==
0
or
fatal
(
-
1
,
"
Could not set -kb in
$cvsdir
");
# And kill the temp dir.
System
("
/bin/rm -rf
$tmpdir
");
# Now tag it with the same tag that was applied for the instance.
# Apply to the branch tag directly instead of symbolically since that
# does not work properly for some reason.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment