• 
      

    Provide a better error message when hg upstream is empty.

    Review Request #6428 — Created Oct. 10, 2014 and submitted

    Information

    RBTools
    master
    5d0ed62...

    Reviewers

    Running rbt post or rbt diff will now print an error message
    that explains that it expects the upstream repository not to be
    empty. The old behaviour was to print out a cryptic error message
    (CRITICAL: list index out of range). This new behaviour indicates
    the source of the underlying problem.

    Tested rbt diff with an empty Mercurial upstream repository. It
    now prints the correct error message instead of the cryptic one.

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

    2. 
        
    brennie
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-0.6.x (dfe752d)