Add support for 'rbt patch -c' for Mercurial repositories

Review Request #6090 — Created July 9, 2014 and submitted

Information

RBTools
release-0.6.x

Reviewers

Implement create_commit() in mercurial.py to support committing using information from the review request.

Posted a patch to Review Board, popped it off the queue, ran 'rbt patch -c <review_id>' and verified that the changeset was correctly committed.

Description From Last Updated

Can you add a docstring?

daviddavid

Since files is an empty list, all of this can be replaced with just execute(hg_command + files)

daviddavid

In other commands we use "Git/Mercurial only"

daviddavid
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/patch.py
        rbtools/clients/mercurial.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/commands/patch.py
        rbtools/clients/mercurial.py
    
    
  2. 
      
BC
david
  1. 
      
  2. rbtools/clients/mercurial.py (Diff revision 1)
     
     
    Show all issues

    Can you add a docstring?

  3. rbtools/clients/mercurial.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    Since files is an empty list, all of this can be replaced with just execute(hg_command + files)

  4. rbtools/commands/patch.py (Diff revision 1)
     
     
    Show all issues

    In other commands we use "Git/Mercurial only"

  5. 
      
BC
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/commands/patch.py
        rbtools/clients/mercurial.py
        rbtools/clients/git.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/patch.py
        rbtools/clients/mercurial.py
        rbtools/clients/git.py
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
BC
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.6.x (5820d97)