Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Bug 517621 - Stash REST API gives ambiguous errors if the stash is empty
If the stash is empty and a client tries to contact the Orion server to drop the entire stash or a given stash revision, the server should send back an error message that indicates that the stash is empty. If the stash is not empty and a client tries to drop the stash with an invalid stash revision, the server should send back an error message to notify the user that the provided stash revision is invalid and that the specified stash revision could not be found in the repository's list of refs. Signed-off-by: Remy Suen <remy.suen@gmail.com>
- Loading branch information
Showing
2 changed files
with
105 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters