rt
Details
- Reviewers
stash - Group Reviewers
Restricted Project - Commits
- rFBHGX7d5162acb093: scm-prompt: standardize testing style and formatting
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
scripts/scm-prompt.sh | ||
---|---|---|
64 | Whoops I missed this comment. I'll add a follow-up. I changed to builtin because it works better in zsh -- in fact command cd doesn't work in zsh at all for my purposes, so I just tried to be consistent and use builtin for things I knew were builtin to the shells we support. | |
101 | It's important if there are spaces or glob characters like * |
scripts/scm-prompt.sh | ||
---|---|---|
193 | Adding the outer double quotes without removing the inner quotes causes literal quotes to appear in the prompt. |
I'm not sure how my testing missed this; occur a task last night to fix it and will get it in today.
Why do we prefer builtin here? Can you also add it in the big comment above, that we should use "builtin" for echo and "command" for everything else