Enhance Review Board RBTools (rbt) to support svn tree (or file) copy

Review Request #4279 — Created July 2, 2013 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

RBTools (rbt post) does NOT support svn tree copy (or file/files copy) from other branches. With this change, rbt notifies user that it has detected tree/file copy and asks the user if the review should contain files added as part of svn copy or not.
sudhirbs@rhel-sudhirbs $ svn cp $svn/branch/dir .
A    dir/a.c
A    dir/b.c
Checked out revision XXXXX.
A         dir



sudhirbs@rhel-sudhirbs usbrdl $ svn st
A  +    dir 


1. Test using NO svn changelist
sudhirbs@rhel-sudhirbs $ rbt post
One or more files in your changeset has history scheduled with commit.
Please add option '--svn-show-copies-as-adds=y/n' and re-run

sudhirbs@rhel-sudhirbs $ rbt post --svn-show-copies-as-adds=y
Review request #ddddd posted.


2. Test using svn changelist
sudhirbs@rhel-sudhirbs $ rbt post --svn-changelist=tree_copy_1_file

One or more files in your changeset has history scheduled with commit.
Please add option '--svn-show-copies-as-adds=y/n' and re-run



sudhirbs@rhel-sudhirbs $ rbt post  --svn-changelist=tree_copy_1_file --svn-show-copies-as-adds=y
Review request #ddddd posted.