Mercurial > public > src > hgbook
changeset 1185:42fcf90045be
Newer hg command line tool log output tweak
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Tue, 15 Mar 2011 21:53:28 +0800 |
parents | 4eb10ca67ba8 |
children | bc143583eaa1 |
files | en/fixsvg |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/en/fixsvg Mon Mar 14 21:52:02 2011 +0800 +++ b/en/fixsvg Tue Mar 15 21:53:28 2011 +0800 @@ -6,7 +6,7 @@ for i in 0 1 2 3 4 do - export REV$i=$(hg --cwd hello log -r $i --template '{node|short}' | cut -c1-4) + export REV$i=$(hg --cwd hello log -r $i --template '{node|short}' | head -1 | cut -c1-4) done export REV_my_hello=$(cat /tmp/REV5.my-hello) export REV_my_new_hello=$(cat /tmp/REV5.my-new-hello)