Browse Source

Merge branch 'maint'

* maint:
  t1402: work around shell quoting issue on NetBSD
  remote-hg: Fix biridectionality -> bidirectionality typos
maint
Junio C Hamano 12 years ago
parent
commit
414c78ccff
  1. 2
      contrib/remote-helpers/git-remote-hg
  2. 2
      contrib/remote-helpers/test-hg-bidi.sh
  3. 6
      t/t1402-check-ref-format.sh

2
contrib/remote-helpers/git-remote-hg

@ -31,7 +31,7 @@ import urllib @@ -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('^([^<>]+)')

2
contrib/remote-helpers/test-hg-bidi.sh

@ -6,7 +6,7 @@ @@ -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


6
t/t1402-check-ref-format.sh

@ -11,7 +11,8 @@ valid_ref() { @@ -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() { @@ -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…
Cancel
Save