# HG changeset patch # User Boris Feld # Date 1495014434 -7200 # Node ID 2ddbdc1bab13826ca8fa4534e20483cdbd78db38 # Parent 3be45918c7b5515a2fe85e14a29e269d5719f7bf test: update test-obsolete.t to use common.sh The definition of getid() in the test file was wrong, use the one from common.sh instead diff -r 3be45918c7b5 -r 2ddbdc1bab13 tests/test-obsolete.t --- a/tests/test-obsolete.t Tue May 16 23:37:10 2017 -0700 +++ b/tests/test-obsolete.t Wed May 17 11:47:14 2017 +0200 @@ -1,3 +1,5 @@ + + $ . $TESTDIR/testlib/common.sh $ cat >> $HGRCPATH < [web] > push_ssl = false @@ -15,10 +17,6 @@ > hg add "$1" > hg ci -m "add $1" > } - $ getid() { - > hg id --hidden --debug -ir "$1" - > } - $ alias qlog="hg log --template='{rev}\n- {node|short}\n'" $ hg init local $ cd local