Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
mercurial-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
19
Merge Requests
19
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
octobus
mercurial-devel
Commits
ca3dca416f8d
Commit
1d343a32
authored
Nov 05, 2019
by
Yuya Nishihara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py3: add inline comment about encoding issue of str(Abort())
--HG-- branch : stable
parent
822202e72f69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mercurial/error.py
mercurial/error.py
+3
-0
No files found.
mercurial/error.py
View file @
ca3dca416f8d
...
...
@@ -114,6 +114,9 @@ class Abort(Hint, Exception):
if
pycompat
.
ispy3
:
def
__str__
(
self
):
# the output would be unreadable if the message was translated,
# but do not replace it with encoding.strfromlocal(), which
# may raise another exception.
return
pycompat
.
sysstr
(
self
.
__bytes__
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment