git p4 test: use client_view to build the initial client
Simplify the code a bit by using an existing function. Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
0f487d308d
commit
daa38f4ae0
@ -74,15 +74,8 @@ start_p4d() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# build a client
|
# build a client
|
||||||
(
|
client_view "//depot/... //client/..." &&
|
||||||
cd "$cli" &&
|
|
||||||
p4 client -i <<-EOF
|
|
||||||
Client: client
|
|
||||||
Description: client
|
|
||||||
Root: $cli
|
|
||||||
View: //depot/... //client/...
|
|
||||||
EOF
|
|
||||||
)
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user