Skip to content
Snippets Groups Projects
  • Mads Kiilerich's avatar
    a259f7b4
    rebase: improve error message for empty --rev set · a259f7b4
    Mads Kiilerich authored
    Before, it just said 'nothing to rebase' in this case. Now, it aborts
    mentioning the reason: 'empty "rev" revision set'.
    
    Specifying revisions that cannot be rebased is a 'soft' error, but specifying
    an empty set deserves an abort that explains exactly what the problem is.
    a259f7b4
    History
    rebase: improve error message for empty --rev set
    Mads Kiilerich authored
    Before, it just said 'nothing to rebase' in this case. Now, it aborts
    mentioning the reason: 'empty "rev" revision set'.
    
    Specifying revisions that cannot be rebased is a 'soft' error, but specifying
    an empty set deserves an abort that explains exactly what the problem is.