Mercurial > hg
view tests/test-dispatch @ 9092:9aebeea7ac00
subrepo: use hg.repository instead of creating localrepo directly
this way, extensions' reposetup will be called, which allows for git
subrepos to be handled by hg-git (and I believe the same goes for
svn and hgsubversion)
author | Abderrahim Kitouni <a.kitouni@gmail.com> |
---|---|
date | Sat, 04 Jul 2009 14:18:15 +0100 |
parents | c88c8d59979f |
children | f92f8921a5cc |
line wrap: on
line source
#!/bin/sh # test command parsing and dispatch "$TESTDIR/hghave" no-outer-repo || exit 80 hg init a cd a echo a > a hg ci -Ama echo "# missing arg" hg cat echo '% [defaults]' hg cat a cat >> $HGRCPATH <<EOF [defaults] cat = -r null EOF hg cat a echo '% no repo' cd .. hg cat exit 0