Mercurial > hg
view tests/test-convert-svn-tags @ 9789:79e749b26b2b
Use utf-8 encoding in test-branchmap's clone call
After 75520c24feda it is printed in local encoding, i.e. "C" if not set
otherwise.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 07 Nov 2009 23:38:01 +0100 |
parents | 9c75f16f577c |
children | bb5ea66789e3 |
line wrap: on
line source
#!/bin/sh "$TESTDIR/hghave" svn svn-bindings || exit 80 fix_path() { tr '\\' / } echo "[extensions]" >> $HGRCPATH echo "convert = " >> $HGRCPATH echo "hgext.graphlog =" >> $HGRCPATH svnadmin create svn-repo cat "$TESTDIR/svn/tags.svndump" | svnadmin load svn-repo > /dev/null echo % convert hg convert --datesort svn-repo A-hg cd A-hg hg glog --template '{rev} {desc|firstline} tags: {tags}\n' hg tags | sed 's/:.*/:/' cd .. echo % convert without tags hg convert --datesort --config convert.svn.tags= svn-repo A-notags-hg hg -R A-notags-hg tags -q