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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
codereview.py
lib/codereview/codereview.py
+8
-1
No files found.
lib/codereview/codereview.py
View file @
be32c6aa
...
...
@@ -344,7 +344,14 @@ def LoadCL(ui, repo, name, web=True):
return
None
,
"malformed response loading CL data from code review server"
cl
.
reviewer
=
SplitCommaSpace
(
f
[
'reviewers'
])
cl
.
cc
=
SplitCommaSpace
(
f
[
'cc'
])
cl
.
desc
=
f
[
'description'
]
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
.
url
=
server_url_base
+
name
cl
.
web
=
True
return
cl
,
''
...
...
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