Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
4bd05f29
D
dragonwell8
项目概览
openanolis
/
dragonwell8
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4bd05f29
编写于
4月 16, 2013
作者:
J
jgish
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8011347: JKD-8009824 has broken webrev with some ksh versions
Reviewed-by: mduigou
上级
7540706c
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
7 deletion
+8
-7
make/scripts/webrev.ksh
make/scripts/webrev.ksh
+8
-7
未找到文件。
make/scripts/webrev.ksh
浏览文件 @
4bd05f29
...
...
@@ -27,7 +27,7 @@
# Documentation is available via 'webrev -h'.
#
WEBREV_UPDATED
=
2
3.18
-hg+jbs
WEBREV_UPDATED
=
2
4.0
-hg+jbs
HTML
=
'<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
...
...
@@ -1443,11 +1443,10 @@ function flist_from_mercurial_forest
if
[
!
-f
$FLIST
]
;
then
# hg commit hasn't been run see what is lying around
print
"
\n
No outgoing, perhaps you haven't commited."
NO_OUTGOING
=
print
" File list from hg fstatus -mard ...
\c
"
FSTAT_OPT
=
fstatus
HG_LIST_FROM_COMMIT
=
0
HG_LIST_FROM_COMMIT
=
fi
print
" Done."
}
...
...
@@ -1629,7 +1628,6 @@ function flist_from_mercurial
else
# hg commit hasn't been run see what is lying around
print
"
\n
No outgoing, perhaps you haven't commited."
NO_OUTGOING
=
fi
# First let's list all the modified or deleted files
...
...
@@ -2112,6 +2110,7 @@ do
done
FLIST
=
/tmp/
$$
.flist
HG_LIST_FROM_COMMIT
=
if
[[
-n
$wflag
&&
-n
$lflag
]]
;
then
usage
...
...
@@ -2554,6 +2553,7 @@ SACURL='http://sac.eng.sun.com'
SACURL
=
'http://www.opensolaris.org/os/community/arc/caselog'
rm
-f
$WDIR
/
$WNAME
.patch
rm
-f
$WDIR
/
$WNAME
.changeset
rm
-f
$WDIR
/
$WNAME
.ps
rm
-f
$WDIR
/
$WNAME
.pdf
...
...
@@ -2783,9 +2783,10 @@ do
cleanse_rmfile
=
"sed 's/^
\(
@@ [0-9+,-]*
\)
[0-9+,-]* @@
$/
\1
+0,0 @@/'"
cleanse_newfile
=
"sed 's/^@@ [0-9+,-]*
\(
[0-9+,-]* @@
\)
$/
@@ -0,0
\1
/'"
if
[[
-v
NO_OUTGOING
]]
;
if
[[
!
"
$HG_LIST_FROM_COMMIT
"
-eq
1
||
!
$flist_mode
==
"auto"
]]
;
then
# Only need to generate a patch file here if there are no commits in outgoing
# or if we've specified a file list
rm
-f
$WDIR
/
$DIR
/
$F
.patch
if
[[
-z
$rename
]]
;
then
if
[
!
-f
$ofile
]
;
then
...
...
@@ -2909,7 +2910,7 @@ done < $FLIST
# Create the new style mercurial patch here using hg export -r [all-revs] -g -o $CHANGESETPATH
if
[[
$SCM_MODE
==
"mercurial"
]]
;
then
if
[[
!(
-v
NO_OUTGOING
)
]]
;
then
if
[[
"
$HG_LIST_FROM_COMMIT
"
-eq
1
&&
$flist_mode
==
"auto"
]]
;
then
EXPORTCHANGESET
=
"
$WNAME
.changeset"
CHANGESETPATH
=
${
WDIR
}
/
${
EXPORTCHANGESET
}
rm
-f
$CHANGESETPATH
...
...
@@ -2925,7 +2926,7 @@ if [[ $SCM_MODE == "mercurial" ]]; then
if
[[
-n
$rev_opt
]]
;
then
(
cd
$CWS
;
hg
export
-g
$rev_opt
-o
$CHANGESETPATH
)
# echo "Created new-patch
: $CHANGESETPATH" 1>&2
echo
"Created changeset
:
$CHANGESETPATH
"
1>&2
# Use it in place of the jdk.patch created above
rm
-f
$WDIR
/
$WNAME
.patch
fi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录