"Go to specific revision": Textbox does not trim revision hash prior to searching
Created originally on Bitbucket by Anonymous
This issue can be reproduced with tortoise hg version 3.2, but it has been there for a long time.
Necessary steps:
- Open the "Go to specific revision" dialog
- Enter a revision hash with a trailing blank (e.g. "ead1235d ")
- Nothing happens, no reaction, no mesage box. The cursor is not moved to the referenced revision
Expected behaviour (in my opinion)
- A trailing blank should have no influence on the revision hash. In general, i would recommend to trim any string from a messagebox or entered by the user. It makes no sense to search for a blank in a bunch of hex strings.
- If no revision is found, some kind of message should appear to make clear whats happening.