##// END OF EJS Templates
progress: retry ferr.flush() and .write() on EINTR (issue5532)...
progress: retry ferr.flush() and .write() on EINTR (issue5532) See the inline comment how this could mitigate the issue. I couldn't reproduce the exact problem on my Linux machine, but there are at least two people who got EINTR in progress.py, and it seems file_write() of Python 2 is fundamentally broken [1]. Let's make something in on 4.2. [1]: https://hg.python.org/cpython/file/v2.7.13/Objects/fileobject.c#l1850

File last commit:

r22046:7a9cbb31 default
r32049:ed42e00a default
Show More
test-revert-flags.t
23 lines | 312 B | text/troff | Tads3Lexer
/ tests / test-revert-flags.t
Matt Mackall
tests: replace exit 80 with #require
r22046 #require execbit
Nicolas Dumazet
tests: unify test-revert-flags
r12110
$ hg init repo
$ cd repo
$ echo foo > foo
$ chmod 644 foo
$ hg ci -qAm '644'
$ chmod 755 foo
$ hg ci -qAm '755'
reverting to rev 0
$ hg revert -a -r 0
reverting foo
$ hg st
M foo
$ hg diff --git
diff --git a/foo b/foo
old mode 100755
new mode 100644
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913
$ cd ..