From b1c9c13780b5ffa7cce40bdb25cb0ec8348d880f Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Sat, 24 Apr 2010 15:35:27 +0300 Subject: proper name and "email" Use the user's Real Name for the name, and $user@$reviewboard_server as "email". --- rb-branch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rb-branch') diff --git a/rb-branch b/rb-branch index 804b815..5df323c 100755 --- a/rb-branch +++ b/rb-branch @@ -18,7 +18,8 @@ if [ ! -x "$rb_patch" ]; then fi $rb_patch "$@" >"$tmp_patch_file" -branch=`grep '^Svn-Branch:' $tmp_patch_file | sed -e 's|.*/||'` +# For the branch name: leave only the final path component +branch=`awk '/^Svn-Branch:/ {print $2}' $tmp_patch_file | sed -e 's|.*/||'` svn_branch="${svn_branch_prefix}svn_$branch" review_num=`awk '/^Review:/ {print $2}' $tmp_patch_file` diff_num=`awk '/^Diff:/ {print $2}' $tmp_patch_file` -- cgit v1.2.3