Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
evolve
Commits
2c3fd1bb2752
Commit
2c3fd1bb
authored
Jul 12, 2019
by
Martin von Zweigbergk
Browse files
py3: store to __doc__ as str (unicode on py3)
parent
7e034d44bd4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
hgext3rd/evolve/__init__.py
View file @
2c3fd1bb
...
@@ -278,6 +278,7 @@
...
@@ -278,6 +278,7 @@
lock
as
lockmod
,
lock
as
lockmod
,
node
,
node
,
patch
,
patch
,
pycompat
,
revset
,
revset
,
scmutil
,
scmutil
,
)
)
...
@@ -887,7 +888,7 @@
...
@@ -887,7 +888,7 @@
ui
=
args
[
0
]
ui
=
args
[
0
]
ui
.
warn
(
deprecationwarning
)
ui
.
warn
(
deprecationwarning
)
util
.
checksignature
(
fn
)(
*
args
,
**
kwargs
)
util
.
checksignature
(
fn
)(
*
args
,
**
kwargs
)
newfn
.
__doc__
=
deprecationwarning
+
' (DEPRECATED)'
newfn
.
__doc__
=
pycompat
.
sysstr
(
deprecationwarning
+
' (DEPRECATED)'
)
cmdwrapper
=
eh
.
command
(
oldalias
,
opts
,
synopsis
)
cmdwrapper
=
eh
.
command
(
oldalias
,
opts
,
synopsis
)
cmdwrapper
(
newfn
)
cmdwrapper
(
newfn
)
...
...
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