[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] How can I get the direct ancestor of a revision.
From: |
Jan Hudec |
Subject: |
Re: [Gnu-arch-users] How can I get the direct ancestor of a revision. |
Date: |
Sun, 4 Jul 2004 22:24:08 +0200 |
User-agent: |
Mutt/1.5.6+20040523i |
On Sun, Jul 04, 2004 at 21:15:57 +0200, Matthieu Moy wrote:
> Hi,
>
> Is it possible to get the direct ancestor of a revision ?
>
> Well, I can do
>
> tla ancestry-graph | head -2 | tail -1 | cut -f 1
>
> But this is terribly inefficient. Is there a better way to do it? If
> not, then, there should and this should be rather easy to do since I'm
> pretty sure tla can already do it internally.
RTFH (H == help). Of the very ancestry-graph command. It has an option
for that.
-------------------------------------------------------------------------------
Jan 'Bulb' Hudec
<address@hidden>
signature.asc
Description: Digital signature