Enhance Review Board RBTools (rbt) to support svn tree (or file) copy
Review Request #4279 — Created July 2, 2013 and submitted
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.
SU
- Change Summary:
-
>>> This should simplify the change quite a bit. Hi David, Thanks for the review. I think I have now simplified the change. Regards Sudhir

-
This is a review from Review Bot. Tool: Pyflakes Processed Files: rbtools/commands/post.py rbtools/clients/svn.py rbtools/commands/diff.py Ignored Files:

-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: rbtools/commands/post.py rbtools/clients/svn.py rbtools/commands/diff.py Ignored Files: