Fix post-commit handling of perforce 'branch' operations.

Review Request #5975 — Created June 11, 2014 and submitted

Information

RBTools
release-0.6.x
e783929...

Reviewers

There was some code in here to handle 'branch' operations on files already, but
it wasn't in the list of whitelisted operations, and we'd therefore error out
with "Unsupported action type "branch" for <filename>".

This change reorders the renaming of actions with the whitelist, to simplify
the list a bit and fix things.

  • Ran unit tests
  • Submitted a change involving a branched file and saw that it got posted as a
    new file.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        rbtools/clients/perforce.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        rbtools/clients/perforce.py
      Ignored Files:
    
    
  2. 
      
chipx86
  1. Ship It!

  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.6.x (c69b3e5)
Loading...