Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
eea25730
Commit
eea25730
authored
Oct 22, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix handling of escaped characters like ' " & < >
R=r
http://go/go-review/1013007
parent
79a63728
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
codereview.py
lib/codereview/codereview.py
+3
-4
No files found.
lib/codereview/codereview.py
View file @
eea25730
...
...
@@ -618,7 +618,8 @@ def mail(ui, repo, *pats, **opts):
pmsg
=
"Hello "
+
JoinComma
(
cl
.
reviewer
)
+
",
\n
"
pmsg
+=
"
\n
"
pmsg
+=
"I'd like you to review the following change.
\n
"
PostMessage
(
cl
.
name
,
pmsg
,
send_mail
=
"checked"
,
subject
=
"code review: "
+
line1
(
cl
.
desc
))
subject
=
"code review
%
s:
%
s"
%
(
cl
.
name
,
line1
(
cl
.
desc
))
PostMessage
(
cl
.
name
,
pmsg
,
send_mail
=
"checked"
,
subject
=
subject
)
def
submit
(
ui
,
repo
,
*
pats
,
**
opts
):
"""submit change to remote repository
...
...
@@ -835,9 +836,7 @@ class FormParser(HTMLParser):
self
.
curtag
=
None
self
.
curdata
=
None
def
handle_charref
(
self
,
name
):
import
unicodedata
char
=
unicodedata
.
name
(
unichr
(
int
(
name
)))
self
.
handle_data
(
char
)
self
.
handle_data
(
unichr
(
int
(
name
)))
def
handle_entityref
(
self
,
name
):
import
htmlentitydefs
if
name
in
htmlentitydefs
.
entitydefs
:
...
...
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