Sun, 19 Mar 2017 01:19:27 -0400 util: reference __main__ in sys.modules as a sysstr
Augie Fackler <augie@google.com> [Sun, 19 Mar 2017 01:19:27 -0400] rev 31539
util: reference __main__ in sys.modules as a sysstr
Sun, 19 Mar 2017 01:38:10 -0400 ui: convert to/from Unicode on Python 3 in ui.editor()
Augie Fackler <augie@google.com> [Sun, 19 Mar 2017 01:38:10 -0400] rev 31538
ui: convert to/from Unicode on Python 3 in ui.editor() I considered making this I/O be done in terms of bytes, but that would cause an observable regression for Windows users, as non-binary-mode open does EOL conversion there. There are probably new encoding dragons lurking here, so we may want to switch to using binary mode and doing EOL conversion ourselves.
Sun, 19 Mar 2017 01:12:03 -0400 manifest: refer to bytestrings as bytes, not str
Augie Fackler <augie@google.com> [Sun, 19 Mar 2017 01:12:03 -0400] rev 31537
manifest: refer to bytestrings as bytes, not str Required on Python 3.
Sun, 19 Mar 2017 01:11:37 -0400 manifest: use node.hex instead of .encode('hex')
Augie Fackler <augie@google.com> [Sun, 19 Mar 2017 01:11:37 -0400] rev 31536
manifest: use node.hex instead of .encode('hex') The latter doesn't work on Python 3.
Mon, 20 Mar 2017 21:40:28 -0700 pure: use int instead of long
Martin von Zweigbergk <martinvonz@google.com> [Mon, 20 Mar 2017 21:40:28 -0700] rev 31535
pure: use int instead of long Similar to the recent 73aa13bc8dac (revlog: use int instead of long, 2017-03-19).
Mon, 13 Mar 2017 22:30:07 -0700 histedit: inline cleanupnode
Jun Wu <quark@fb.com> [Mon, 13 Mar 2017 22:30:07 -0700] rev 31534
histedit: inline cleanupnode Move "cleanupnode" (unsafe strip) into "safecleanupnode" so it's impossible to call the unsafe function directly. This helps reduce future programming errors.
Mon, 13 Mar 2017 22:22:18 -0700 histedit: use safecleanupnode in _aborthistedit (issue5500)
Jun Wu <quark@fb.com> [Mon, 13 Mar 2017 22:22:18 -0700] rev 31533
histedit: use safecleanupnode in _aborthistedit (issue5500) Now nobody in histedit calls the unsafe cleanupnode directly.
Mon, 13 Mar 2017 22:19:06 -0700 histedit: use safecleanupnode in _finishhistedit
Jun Wu <quark@fb.com> [Mon, 13 Mar 2017 22:19:06 -0700] rev 31532
histedit: use safecleanupnode in _finishhistedit This simplifies code a lot.
Mon, 13 Mar 2017 21:10:45 -0700 histedit: add a method to cleanup nodes safely
Jun Wu <quark@fb.com> [Mon, 13 Mar 2017 21:10:45 -0700] rev 31531
histedit: add a method to cleanup nodes safely The new method will decide between: - cleanupnode, which calls the unsafe repair.strip - create obsmarkers Ideally, nobody calls "cleanupnode" directly except for "safecleanupnode".
Tue, 21 Mar 2017 07:22:13 +0530 py3: prove hg status works
Rishabh Madan <rishabhmadan96@gmail.com> [Tue, 21 Mar 2017 07:22:13 +0530] rev 31530
py3: prove hg status works
Mon, 20 Mar 2017 22:06:57 -0400 localrepo: use node.hex instead of awkward .encode('latin1')
Augie Fackler <augie@google.com> [Mon, 20 Mar 2017 22:06:57 -0400] rev 31529
localrepo: use node.hex instead of awkward .encode('latin1') Spotted as an option by Yuya. Thanks!
Tue, 21 Mar 2017 03:15:18 +0530 py3: prove hg config works
Rishabh Madan <rishabhmadan96@gmail.com> [Tue, 21 Mar 2017 03:15:18 +0530] rev 31528
py3: prove hg config works
Sat, 18 Mar 2017 21:02:20 +0900 templater: make pad() strip color codes before computing width (issue5416)
Yuya Nishihara <yuya@tcha.org> [Sat, 18 Mar 2017 21:02:20 +0900] rev 31527
templater: make pad() strip color codes before computing width (issue5416) Tested in ANSI mode. We might have to extend _ansieffectre to support terminfo mode.
Sat, 18 Mar 2017 20:50:15 +0900 templater: make pad() compute actual width
Yuya Nishihara <yuya@tcha.org> [Sat, 18 Mar 2017 20:50:15 +0900] rev 31526
templater: make pad() compute actual width str.ljust() and .rjust() are based on byte length, which are valid only for ASCII characters.
Sat, 18 Mar 2017 20:38:44 +0900 templater: reject bad fillchar argument passed to pad()
Yuya Nishihara <yuya@tcha.org> [Sat, 18 Mar 2017 20:38:44 +0900] rev 31525
templater: reject bad fillchar argument passed to pad() Otherwise TypeError would be raised.
(0) -30000 -10000 -3000 -1000 -300 -100 -15 +15 +100 +300 +1000 +3000 +10000 tip