On Wed, 07 Feb 2007 18:29:38 -0700, didier deshommes <[EMAIL PROTECTED]> wrote: > > When you execute "hg --revert" succesfully, does it display a > meaningful message? When I've tried it, I didn't get any any message > and I just assumed that the commnd had failed silently. >
Like many unix commands it gives no message on succcess and gives an error on failure. >> So you would like this: >> >> rank4:~/d/sage was$ hg ci >> [... i don't record a message ...] >> transaction abort! >> rollback completed >> >> to instead be >> >> >> rank4:~/d/sage was$ hg ci >> [... i don't record a message ...] >> transaction abort! >> You must enter a log message in order to record your changes. >> rollback completed > > Yes please. Also, the whole "transaction abort!/rollback completed" is > confusing to a distracted used like me: on the one hand I see > "abort!", on the other, I see "completed". What have I exactly done? (1) you got ready to record your log message (2) you changed your mind (3) this causes the transaction that you are doing (i.e., record changes) to be aborted (4) you get a message that rolling back the transaction succeed. (It's sort of database jargon.) > I think my main problem with hg are the error messages. I don't find > them that helpful. I agree. You should have seen how ugly and confusing the code browser was before I restylized it for SAGE. We could rewrite the important error messages though for the SAGE version of hg. It's open source. -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---
