diff options
| -rw-r--r-- | command.py | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -43,10 +43,15 @@ class Command(object): | |||
| 43 | """Base class for any command line action in repo. | 43 | """Base class for any command line action in repo. |
| 44 | """ | 44 | """ |
| 45 | 45 | ||
| 46 | event_log = EventLog() | ||
| 47 | manifest = None | 46 | manifest = None |
| 48 | _optparse = None | 47 | _optparse = None |
| 49 | 48 | ||
| 49 | # Singleton for all commands to track overall repo command execution and | ||
| 50 | # provide event summary to callers. Only used by sync subcommand currently. | ||
| 51 | # | ||
| 52 | # NB: This is being replaced by git trace2 events. See git_trace2_event_log. | ||
| 53 | event_log = EventLog() | ||
| 54 | |||
| 50 | # Whether this command is a "common" one, i.e. whether the user would commonly | 55 | # Whether this command is a "common" one, i.e. whether the user would commonly |
| 51 | # use it or it's a more uncommon command. This is used by the help command to | 56 | # use it or it's a more uncommon command. This is used by the help command to |
| 52 | # show short-vs-full summaries. | 57 | # show short-vs-full summaries. |
