Mercurial > hg
view tests/test-convert-svn-tags @ 10194:a275c3997e03 stable
Added signature for changeset 296a0b14a686
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 01 Jan 2010 17:58:35 -0600 |
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