comparison tests/test-convert-tla.t @ 20117:aa9385f983fa

tests: don't load unnecessary graphlog extension Since graphlog is in core, we can use 'hg log -G' instead.
author Martin Geisler <martin@geisler.net>
date Fri, 22 Nov 2013 19:14:17 +0100
parents e0348815e806
children 7a9cbb315d84
comparison
equal deleted inserted replaced
20116:9e0219967e38 20117:aa9385f983fa
1 1
2 $ "$TESTDIR/hghave" tla symlink || exit 80 2 $ "$TESTDIR/hghave" tla symlink || exit 80
3 $ tla my-id "mercurial <mercurial@selenic.com>" 3 $ tla my-id "mercurial <mercurial@selenic.com>"
4 $ echo "[extensions]" >> $HGRCPATH 4 $ echo "[extensions]" >> $HGRCPATH
5 $ echo "convert=" >> $HGRCPATH 5 $ echo "convert=" >> $HGRCPATH
6 $ echo 'graphlog =' >> $HGRCPATH
7 6
8 create tla archive 7 create tla archive
9 8
10 $ tla make-archive tla@mercurial--convert `pwd`/hg-test-convert-tla 9 $ tla make-archive tla@mercurial--convert `pwd`/hg-test-convert-tla
11 10
107 1 file to link and link to file test 106 1 file to link and link to file test
108 0 move and rename a-link-2 file and src directory 107 0 move and rename a-link-2 file and src directory
109 $ tla register-archive -d tla@mercurial--convert 108 $ tla register-archive -d tla@mercurial--convert
110 $ glog() 109 $ glog()
111 > { 110 > {
112 > hg glog --template '{rev} "{desc|firstline}" files: {files}\n' "$@" 111 > hg log -G --template '{rev} "{desc|firstline}" files: {files}\n' "$@"
113 > } 112 > }
114 113
115 show graph log 114 show graph log
116 115
117 $ glog -R tla-repo-hg 116 $ glog -R tla-repo-hg