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-devel
Commits
fd45aa32
Commit
fd45aa32
authored
Jul 31, 2007
by
Leigh B. Stoller
Browse files
Minor fixes.
parent
b2f12037
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/template_create.in
View file @
fd45aa32
...
...
@@ -685,11 +685,11 @@ else {
# Need to clear the -b (default branch) or else the merge
# commit fails for some reason that makes no sense to me.
System
("
cd
$tmpdir
/setup
;
$CVSBIN
-d
$cvsdir
admin -b
$guid
")
==
0
System
("
cd
$tmpdir
;
$CVSBIN
-d
$cvsdir
admin -b
$guid
")
==
0
or
fatal
(
-
1
,
"
Could not clear default branch (-b) on
$cvsdir
");
# Commit ...
System
("
cd
$tmpdir
/setup;
$CVSBIN
-d
$cvsdir
commit -f -R
"
.
System
("
cd
$tmpdir
/
$guid
/
setup;
$CVSBIN
-d
$cvsdir
commit -f -R
"
.
"
-r T
${parent_guid}
-
${vers}
_branch
"
.
"
-m 'Commit merge with head'
")
==
0
or
fatal
(
-
1
,
"
Could not commit on
$cvsdir
");
...
...
@@ -697,18 +697,18 @@ else {
#
# Clear the default branch so that "update -A" takes user to trunk.
#
System
("
cd
$tmpdir
;
$CVSBIN
-d
$cvsdir
admin -b
")
System
("
cd
$tmpdir
/
$guid
/setup
;
$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
")
System
("
cd
$tmpdir
/
$guid
/setup
;
$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.
#
System
("
$CVSBIN
-d
$cvsdir
rtag -n
"
.
System
("
$CVSBIN
-d
$cvsdir
rtag -n
"
.
"
-r T
${parent_guid}
-
${vers}
_branch T
${guid}
-
${vers}
"
.
"
$guid
/setup
")
==
0
or
fatal
(
-
1
,
"
Could not rtag final version in
$cvsdir
");
...
...
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