changeset 12946 | 24a1d7ad12a4 |
parent 12939 | 0cb90f9c6d8e |
parent 12945 | 99f7dc8def34 |
child 12954 | 85777aab7e08 |
--- a/tests/printrepr.py Sun Nov 07 16:01:57 2010 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -#!/usr/bin/env python -# -# Copyright 2009 Matt Mackall <mpm@selenic.com> and others -# -# This software may be used and distributed according to the terms of the -# GNU General Public License version 2 or any later version. - -"""prints repr(sys.stdin) but preserves newlines in input""" - -import sys -print repr(sys.stdin.read())[1:-1].replace('\\n', '\n'),