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
be32c6aa
Commit
be32c6aa
authored
Nov 30, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codereview: allow editing of local CL description
between hg clpatch and hg submit. R=r
https://golang.org/cl/162059
parent
1dc65e3a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
codereview.py
lib/codereview/codereview.py
+7
-0
No files found.
lib/codereview/codereview.py
View file @
be32c6aa
...
@@ -344,6 +344,13 @@ def LoadCL(ui, repo, name, web=True):
...
@@ -344,6 +344,13 @@ def LoadCL(ui, repo, name, web=True):
return
None
,
"malformed response loading CL data from code review server"
return
None
,
"malformed response loading CL data from code review server"
cl
.
reviewer
=
SplitCommaSpace
(
f
[
'reviewers'
])
cl
.
reviewer
=
SplitCommaSpace
(
f
[
'reviewers'
])
cl
.
cc
=
SplitCommaSpace
(
f
[
'cc'
])
cl
.
cc
=
SplitCommaSpace
(
f
[
'cc'
])
if
cl
.
local
and
cl
.
original_author
and
cl
.
desc
:
# local copy of CL written by someone else
# and we saved a description. use that one,
# so that committers can edit the description
# before doing hg submit.
pass
else
:
cl
.
desc
=
f
[
'description'
]
cl
.
desc
=
f
[
'description'
]
cl
.
url
=
server_url_base
+
name
cl
.
url
=
server_url_base
+
name
cl
.
web
=
True
cl
.
web
=
True
...
...
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