mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-07-20 08:40:49 +02:00
test: trivial style cleanups
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
22
test/bidi.t
22
test/bidi.t
@@ -54,17 +54,17 @@ hg_log () {
|
||||
}
|
||||
|
||||
setup () {
|
||||
(
|
||||
echo "[ui]"
|
||||
echo "username = A U Thor <author@example.com>"
|
||||
echo "[defaults]"
|
||||
echo "backout = -d \"0 0\""
|
||||
echo "commit = -d \"0 0\""
|
||||
echo "debugrawcommit = -d \"0 0\""
|
||||
echo "tag = -d \"0 0\""
|
||||
echo "[extensions]"
|
||||
echo "graphlog ="
|
||||
) >>"$HOME"/.hgrc &&
|
||||
cat > "$HOME"/.hgrc <<-EOF &&
|
||||
[ui]
|
||||
username = A U Thor <author@example.com>
|
||||
[defaults]
|
||||
backout = -d "0 0"
|
||||
commit = -d "0 0"
|
||||
debugrawcommit = -d "0 0"
|
||||
tag = -d "0 0"
|
||||
[extensions]"
|
||||
graphlog =
|
||||
EOF
|
||||
git config --global remote-hg.hg-git-compat true
|
||||
git config --global remote-hg.track-branches true
|
||||
|
||||
|
||||
@@ -91,19 +91,19 @@ git_log () {
|
||||
}
|
||||
|
||||
setup () {
|
||||
(
|
||||
echo "[ui]"
|
||||
echo "username = A U Thor <author@example.com>"
|
||||
echo "[defaults]"
|
||||
echo "backout = -d \"0 0\""
|
||||
echo "commit = -d \"0 0\""
|
||||
echo "debugrawcommit = -d \"0 0\""
|
||||
echo "tag = -d \"0 0\""
|
||||
echo "[extensions]"
|
||||
echo "hgext.bookmarks ="
|
||||
echo "hggit ="
|
||||
echo "graphlog ="
|
||||
) >>"$HOME"/.hgrc &&
|
||||
cat > "$HOME"/.hgrc <<-EOF &&
|
||||
[ui]
|
||||
username = A U Thor <author@example.com>
|
||||
[defaults]
|
||||
backout = -d "0 0"
|
||||
commit = -d "0 0"
|
||||
debugrawcommit = -d "0 0"
|
||||
tag = -d "0 0"
|
||||
[extensions]
|
||||
hgext.bookmarks =
|
||||
hggit =
|
||||
graphlog =
|
||||
EOF
|
||||
git config --global receive.denycurrentbranch warn
|
||||
git config --global remote-hg.hg-git-compat true
|
||||
git config --global remote-hg.track-branches false
|
||||
|
||||
@@ -103,7 +103,7 @@ check_push () {
|
||||
}
|
||||
|
||||
setup () {
|
||||
cat >> "$HOME"/.hgrc <<-EOF &&
|
||||
cat > "$HOME"/.hgrc <<-EOF &&
|
||||
[ui]
|
||||
username = H G Wells <wells@example.com>
|
||||
[extensions]
|
||||
|
||||
Reference in New Issue
Block a user