#!/bin/sh
# -*- mode: sh; coding: utf-8 -*-
# vim:smartindent ts=8:sts=2:sta:et:ai:shiftwidth=2
# revision listing
# Copyright © 2004 Canonical Ltd.
# Authors: Robert Collins <robert.collins@canonical.com>
#
# See the file "COPYING" for further information about
# the copyright and warranty status of this work.
set -e
arg0="$0"
srcdir=`dirname "$arg0"`
. ${srcdir}/test-framework
setup_with_trivial_archives
test_class "revisions"
begin_test "revisions in a tree, no arguments"
tla get jane@example.com--2003/hello-world--mainline--1.0 foo
cd foo
test "$(tla revisions)" = "base-0" || test_fail "revisions failed"
end_test
clean_workdir
syntax highlighted by Code2HTML, v. 0.9.1