4.3 Examining a Tree's History
Assume that you have checkout out a complete source tree for GNU Arch as described in the previous section.
You can see where a tree was checked out from with the
tree-version
command:
% pwd /home/lord/tla-dist % ls =INSTALL =README =RELEASE-ID config config.template src {arch} % tla tree-version lord@emf.net--2005/rel--tla--1.3.1
You can examine the history of this tree. For example,
here we look at the history of the tla
project (which is
one part of the entire tree):
% cd src/tla % tla logs -r -s patch-1 fix 'pristines' regression base-0 tag of lord@emf.net--2005/tla--devo--1.3.1--patch-21
base-0
and patch-1
are revision names. The two indented strings are from
the log messages of the commit
operations that created those
revisions.
A similar command:
% tla changelog [...]
presents much the same information, plus some additional data from commit logs.
Commands Discussed
% tla logs -H % tla changelog -H
Copyright
Copyright (C) 2005 Tom Lord (lord@emf.net
)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this software; see the file COPYING
. If not, write to the Free Software Foundation, 675
Mass Ave, Cambridge, MA 02139, USA.