Mercurial > public > mercurial-scm > hg-stable
diff setup.py @ 13293:ad1b46e4a575
record: refactor the prompt loop
The previous loop was iterating over a mixed header/hunk stream. It may have
been more generic in the sense every item in the stream could trigger a prompt
but it required more work to skip items properly. It can be rewritten in a more
intuitive way by looping on files then looping on hunks.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 23 Jan 2011 15:21:37 +0100 |
parents | 4c50552fc9bc |
children | 14f3795a5ed7 |