tests/test-hgcia.out
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 12 Feb 2010 15:46:48 +0100
changeset 10421 452b6195e94c
parent 7438 b80b944836ec
permissions -rw-r--r--
ui: look before you leap on sys.stderr.closed (and look nicer) f83291e5643e introduced a fix if sys.stdout.closed does not exist. This change uses a getattr with default instead of hasattr (which just calls getattr) and accessing the attribute. Additionally it applies the same fix for sys.stderr.closed as this is not available in the bpython shell (reported by Roger Gammans).

adding foo
pushing to ../cia
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files

<message>
  <generator>
    <name>Mercurial (hgcia)</name>
    <version>0.1</version>
    <url>http://hg.kublai.com/mercurial/hgcia</url>
    <user>testuser</user>
  </generator>
  <source>
<project>testproject</project>
<branch>default</branch>
</source>
  <body>
    <commit>
      <author>test</author>
      <version>0:e63c23eaa88a</version>
      <log>foo</log>
      
      <files><file action="add">foo</file></files>
    </commit>
  </body>
  <timestamp>0</timestamp>
</message>