Code

History

Commits on patch-1 to cli/src/command_error.rs105+
  1. str_util: add regex patternYuya Nishihara committed 2 years agoddc601f
  2. workspace add: add filename context to FS errorJonathan Tan committed 2 years ago1eef1a4
  3. revset: omit function name from type error messagesYuya Nishihara committed 2 years ago14421ac
  4. backend: add error variant for access denied, handle when diffingMartin von Zweigbergk committed 2 years ago404f31c
  5. fileset: replace `FilesetParseContext` by `RepoPathUiConverter`Martin von Zweigbergk committed 2 years ago058461e
  6. repo_path: add type for formatting and parsing `RepoPath`, use in CLIMartin von Zweigbergk committed 2 years ago3b70225
  7. diff_util: remove CommandError dependency from show functionsYuya Nishihara committed 2 years agof614c96
  8. External merge tools: better error message for unsupported usageIlya Grigoriev committed 2 years ago04158c3
  9. cli: show hint for inner fileset/revset/template errorsYuya Nishihara committed 2 years agof1fd1d8
  10. cli: extract functions that map fileset/revset/template errors to hintsYuya Nishihara committed 2 years ago34fce3c
  11. revset: add two new error variants to support extensionsdploch committed 2 years agocf78532
  12. cli: improve `snapshot.max-new-file-size` error messageAustin Seipp committed 2 years ago1d99ff6
  13. cli: suggest root:"<path>" if cwd-relative path is not in workspaceYuya Nishihara committed 2 years ago18f94bb
  14. cli: add fileset utility functions and debug commandYuya Nishihara committed 2 years ago05b0fb5
  15. cli: add support for file kind:pattern syntaxYuya Nishihara committed 2 years ago07d0271
  16. errors: don't use the `ui.hint*()` helpersMartin von Zweigbergk committed 2 years agob940f1a
  17. cli: render string pattern suggestion as a hintYuya Nishihara committed 2 years agoa6615bf
  18. tree: flatten TreeMergeError into BackendErrorYuya Nishihara committed 2 years ago73b6090
  19. git_backend: classify "merge with root" as user errorYuya Nishihara committed 2 years agof20004f
  20. cli: extract CommandError::with_message() constructorYuya Nishihara committed 2 years ago91ff1fd
  21. revset, templater: include short parse error description in summary lineYuya Nishihara committed 2 years ago074e6e1
  22. revset, templater: render parse error as usual error chainYuya Nishihara committed 2 years ago2cd70bd
  23. cli: add support for formatted error hintsYuya Nishihara committed 2 years ago1061c91
  24. cli: highlight error source headers as wellYuya Nishihara committed 2 years agoa25cac7
  25. cli: add convenient methods to print hint or warning with default headingsYuya Nishihara committed 2 years agobd3d930
  26. cli: highlight "Error: " headingsYuya Nishihara committed 2 years ago2e91146
  27. cli: highlight "Hint: " headingYuya Nishihara committed 2 years ago78ce9ea
  28. cli: remove less-frequently-used user_error factoriesYuya Nishihara committed 2 years agob77a110
  29. cli: allow to attach multiple hints to CommandErrorYuya Nishihara committed 2 years ago2523dc1
  30. cli: extract helper that prints error message, sources, and hintYuya Nishihara committed 2 years agobb0dcc0
  31. cli: reorganize CommandError as (kind, err, hint) tupleYuya Nishihara committed 2 years agoaeb3470
  32. cli: extract clap::Error handling to functionYuya Nishihara committed 2 years ago7a2077a
  33. cli: add more CommandError factory functions, consolidate inner typeYuya Nishihara committed 2 years agoc333481
  34. cli: don't bury GitImportError sourcesYuya Nishihara committed 2 years ago429cdb3
  35. cli: extract function that stringifies RevsetParseErrorYuya Nishihara committed 2 years ago78104b5

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t