##// END OF EJS Templates
dispatch: provide help for disabled extensions and commands...
dispatch: provide help for disabled extensions and commands Before a command is declared unknown, each extension in hgext is searched, starting with hgext.<cmdname>. If there's a matching command, a help message suggests the appropriate extension and how to enable it. Every extension could potentially be imported, but for cases like rebase, relink, etc. only one extension is imported. For the case of "hg help disabledext", if the extension is in hgext, the extension description is read and a similar help suggestion is printed. No extension import occurs.

File last commit:

r10200:3373ecdd default
r10364:de1e7099 default
Show More
test-convert-svn-startrev
32 lines | 815 B | text/plain | TextLexer
/ tests / test-convert-svn-startrev
Patrick Mezard
convert: add shallow, single branch svn conversions via svn.startrev
r6173 #!/bin/sh
"$TESTDIR/hghave" svn svn-bindings || exit 80
echo "[extensions]" >> $HGRCPATH
echo "convert = " >> $HGRCPATH
Martin Geisler
tests: load with "ext =" instead of "hgext.ext ="
r10119 echo "graphlog =" >> $HGRCPATH
Patrick Mezard
convert: add shallow, single branch svn conversions via svn.startrev
r6173
svnadmin create svn-repo
Patrick Mezard
Rewrite svn tests using svndump...
r7475 cat "$TESTDIR/svn/startrev.svndump" | svnadmin load svn-repo > /dev/null
Patrick Mezard
convert: add shallow, single branch svn conversions via svn.startrev
r6173
convert()
{
startrev=$1
repopath=A-r$startrev-hg
hg convert --config convert.svn.startrev=$startrev \
--config convert.svn.trunk=branches/branch1 \
--config convert.svn.branches=" " \
--config convert.svn.tags= \
Patrick Mezard
test-convert-svn-*: no longer need the url building code
r8765 --datesort svn-repo $repopath
Martin Geisler
tests: replace #...# syntax with {...}
r8523 hg -R $repopath glog --template '{rev} {desc|firstline} files: {files}\n'
Patrick Mezard
convert: add shallow, single branch svn conversions via svn.startrev
r6173 echo
}
echo % convert before branching point
convert 3
echo % convert before branching point
convert 4
echo % convert at branching point
convert 5
echo % convert last revision only
convert 6