Patchwork [2,of,9] revsetbenchmapi: fix template

login
register
mail settings
Submitter Pierre-Yves David
Date March 27, 2014, 2:49 a.m.
Message ID <266d1d1378b5d1742d64.1395888543@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/4081/
State Accepted
Commit c3f455337c6a36b0309d1678e780936402ce8b95
Headers show

Comments

Pierre-Yves David - March 27, 2014, 2:49 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1395877088 25200
#      Wed Mar 26 16:38:08 2014 -0700
# Node ID 266d1d1378b5d1742d64eb7df31817d5bbf55599
# Parent  d7da7e3d580cf0239b4fdf012a2647c93a2ee1d9
revsetbenchmapi: fix template

The revision description missed an \n

Patch

diff --git a/contrib/revsetbenchmarks.sh b/contrib/revsetbenchmarks.sh
--- a/contrib/revsetbenchmarks.sh
+++ b/contrib/revsetbenchmarks.sh
@@ -57,11 +57,11 @@  echo
 # Benchmark revisions
 for i in $(hg log --template='{rev}\n' --rev $TARGETS);
 do
   echo "----------------------------"
   echo -n "Revision: "
-  hg log -r $i --template "{desc|firstline}"
+  hg log -r $i --template "{desc|firstline}\n"
 
   echo "----------------------------"
   $HG $i
   for (( j = 0; j < ${#REVSETS[@]}; j++ ));
   do