Fix git-svn uncommited parent branch errors

Review Request #2496 — Created July 24, 2011 and discarded

Information

RBTools
gitSvnParentBranch

Reviewers

Working with multiple branches allow posting reviews using --parent option over
uncommited branches.
    
With the following branch structure
    
    o master
     \
      o---o topicA
           \
            o---o topicB
    
posting a review from topicB (using --parent=topicA) will show changes from
boths branches but will only highlight topicB ones.

 
KY
  1. 
      
  2. rbtools/postreview.py (Diff revision 1)
     
     
     
     
     
     
     
    If working with git-svn, the code must set merge_base as the branch that references the remote svn trunk.
    
    Not completely sure if master should be hardcoded in here.
  3. rbtools/postreview.py (Diff revision 1)
     
     
     
     
    First the parent diff must be calculated, that will fill up the _git_svn_rev_memory attr and that will allow diff_line work fine later.
  4. rbtools/postreview.py (Diff revision 1)
     
     
     
     
     
     
     
    Need to keep track of the last svn revision.
  5. 
      
KY
KY
Review request changed

Status: Discarded

Loading...