Mercurial > hg
view tests/test-rhg.t @ 45093:63196198dbf0
procutil: distribute code for stdout
It makes sense to have the distinction between Python 2 and 3 at the top level,
as we have to fight a different kind of battle on each: On Python 3, we get
consistent behavior on all platforms, but need to create correctly-behaving
binary streams. On Python 2, we have to account for platform differences.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Fri, 10 Jul 2020 10:12:04 +0200 |
parents | 18f8d3b31baa |
children | e339693addc0 |
line wrap: on
line source
#require rust $ rhg() { > if [ -f "$RUNTESTDIR/../rust/target/debug/rhg" ]; then > "$RUNTESTDIR/../rust/target/debug/rhg" "$@" > else > echo "skipped: Cannot find rhg. Try to run cargo build in rust/rhg." > exit 80 > fi > } $ rhg unimplemented-command [252] $ rhg root abort: no repository found in '$TESTTMP' (.hg not found)! [255] $ hg init repository $ cd repository $ rhg root $TESTTMP/repository $ rhg root > /dev/full abort: No space left on device (os error 28) [255] $ rm -rf `pwd` $ rhg root abort: error getting current working directory: $ENOENT$ [255]