Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
lib/codereview/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