Mercurial > hg-stable
comparison tests/test-rebase-dest.t @ 39723:5abc47d4ca6b
tests: quote PYTHON usage
Python3 defaults to installing under "Program Files".
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 18 Sep 2018 23:47:21 -0400 |
parents | 164ed6d54fdf |
children | 8890fce7c13d |
comparison
equal
deleted
inserted
replaced
39722:030d558c6456 | 39723:5abc47d4ca6b |
---|---|
117 > [experimental] | 117 > [experimental] |
118 > evolution=true | 118 > evolution=true |
119 > EOF | 119 > EOF |
120 | 120 |
121 $ rebasewithdag() { | 121 $ rebasewithdag() { |
122 > N=`$PYTHON -c "print($N+1)"` | 122 > N=`"$PYTHON" -c "print($N+1)"` |
123 > hg init repo$N && cd repo$N | 123 > hg init repo$N && cd repo$N |
124 > hg debugdrawdag | 124 > hg debugdrawdag |
125 > hg rebase "$@" > _rebasetmp | 125 > hg rebase "$@" > _rebasetmp |
126 > r=$? | 126 > r=$? |
127 > grep -v 'saved backup bundle' _rebasetmp | 127 > grep -v 'saved backup bundle' _rebasetmp |