Mercurial > repo
view bin/before @ 8435:7456dc1ac5d4
<shachaf> sled bin/before//s/-2/"$(hg log --template \'{rev}\\\\n\' "$f" | tail -n+2 | head -n1)"/
author | HackBot |
---|---|
date | Fri, 10 Jun 2016 03:10:43 +0000 |
parents | 076c1df06724 |
children | c7541819d3f1 |
line wrap: on
line source
lastfiles "$@" | while read f; do echo -n "$f//"; hg cat -r "$(hg log --template '{rev}\n' "$f" | tail -n+2 | head -n1)" "$f"; done