[TFS] Add support for excluding files from workspace diff.

Review Request #8022 — Created March 1, 2016 and submitted

bmartin
RBTools
master
rbtools

Add support for excluding files from workspace diff.

rbt post --exclude **\filename.ext excludes just that file but includes other files from the workspace.

Description From Last Updated

Can you make the first two lines of the conditional line up? if (exclude_patterns and filename_match_any_patterns(...

daviddavid
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/clients/tfs.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/clients/tfs.py
    
    
  2. 
      
david
  1. Thanks so much for this! I have just one tiny comment.

  2. rbtools/clients/tfs.py (Diff revision 1)
     
     
     
     
     

    Can you make the first two lines of the conditional line up?

    if (exclude_patterns and
        filename_match_any_patterns(...
    
  3. 
      
BM
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/clients/tfs.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/clients/tfs.py
    
    
  2. 
      
david
  1. Looks good! Thanks again!

  2. 
      
BM
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.7.x (98c8151)
Loading...