git-commit-vandalism/contrib/remote-helpers
Felipe Contreras 91347ea3e1 remote-hg: always point HEAD to master
Mercurial always checks out the 'default' branch, so there's no point in
complicating our lives trying to do something fancier, which causes
different behavior depending on whether the repository is local or
remote.

So let's always use 'default' (which we translate to 'master'), unless
we are in hg-git mode, which expects us to use the 'master' bookmark
instead.

Also, update the tests that used to check for different checkout
behaviors to simply check that the refs are there, remove unnecessary
ones, and fix the ones that expect something different.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-05-28 07:59:30 -07:00
..
git-remote-bzr remote-bzr: fixes for older versions of bzr 2013-05-17 11:43:36 -07:00
git-remote-hg remote-hg: always point HEAD to master 2013-05-28 07:59:30 -07:00
Makefile remote-helpers: fix the run of all tests 2013-04-04 09:35:20 -07:00
test-bzr.sh remote-helpers: test: simplify remote URLs 2013-05-28 07:59:19 -07:00
test-hg-bidi.sh remote-hg: always point HEAD to master 2013-05-28 07:59:30 -07:00
test-hg-hg-git.sh remote-hg: always point HEAD to master 2013-05-28 07:59:30 -07:00
test-hg.sh remote-hg: always point HEAD to master 2013-05-28 07:59:30 -07:00