destination: fix 'hg pull --rebase'
I'm not sure why sometime functions does not have func_default but this is easy
to fix. I've added a test to catch such stuff it in the future.
#!/bin/sh# This file holds logic that is used in many tests.# It can be called in a test like this:# $ . "$TESTDIR/testlib"# Enable obsolete markers and enable extensionscat >> $HGRCPATH << EOF[experimental]evolution=createmarkers,exchange[extensions]rebase=EOFecho "topic=$(echo $(dirname $TESTDIR))/src/topic" >> $HGRCPATH