1
2
3
{
sub
(
/^\( \)*/
,
""
)
}
/^revision-id:/
{
rev
=$
2
}
/^parent:/
{
print
rev
".."
$
2
}