Merge branch 'maint'
* maint: t1402: work around shell quoting issue on NetBSD remote-hg: Fix biridectionality -> bidirectionality typos
This commit is contained in:
commit
414c78ccff
@ -31,7 +31,7 @@ import urllib
|
||||
# hg:
|
||||
# Emulate hg-git.
|
||||
# Only hg bookmarks are exported as git branches.
|
||||
# Commits are modified to preserve hg information and allow biridectionality.
|
||||
# Commits are modified to preserve hg information and allow bidirectionality.
|
||||
#
|
||||
|
||||
NAME_RE = re.compile('^([^<>]+)')
|
||||
|
@ -6,7 +6,7 @@
|
||||
# https://bitbucket.org/durin42/hg-git/src
|
||||
#
|
||||
|
||||
test_description='Test biridectionality of remote-hg'
|
||||
test_description='Test bidirectionality of remote-hg'
|
||||
|
||||
. ./test-lib.sh
|
||||
|
||||
|
@ -11,7 +11,8 @@ valid_ref() {
|
||||
prereq=$1
|
||||
shift
|
||||
esac
|
||||
test_expect_success $prereq "ref name '$1' is valid${2:+ with options $2}" "
|
||||
desc="ref name '$1' is valid${2:+ with options $2}"
|
||||
test_expect_success $prereq "$desc" "
|
||||
git check-ref-format $2 '$1'
|
||||
"
|
||||
}
|
||||
@ -22,7 +23,8 @@ invalid_ref() {
|
||||
prereq=$1
|
||||
shift
|
||||
esac
|
||||
test_expect_success $prereq "ref name '$1' is invalid${2:+ with options $2}" "
|
||||
desc="ref name '$1' is invalid${2:+ with options $2}"
|
||||
test_expect_success $prereq "$desc" "
|
||||
test_must_fail git check-ref-format $2 '$1'
|
||||
"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user