summaryrefslogtreecommitdiffstats
path: root/command.py
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-08-31 15:45:06 -0700
committerDan Willemsen <dwillemsen@google.com>2015-09-29 13:46:34 -0700
commit79360640f4c7d5f044973aa1bdb6fb0f8f311f05 (patch)
treede0228e9e44b05ad3da07d4e8829a90bebb3871f /command.py
parent7b01b2fd01f4e37688242db19c93feb27f9b65c6 (diff)
downloadgit-repo-79360640f4c7d5f044973aa1bdb6fb0f8f311f05.tar.gz
Add GitcClientCommand class for GITC-specific commands
These won't show up as common commands in the help text unless in a GITC client, and will refuse to execute. Change-Id: Iffe82adcc9d6ddde9cb4b204f83ff018042bdab0
Diffstat (limited to 'command.py')
-rw-r--r--command.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/command.py b/command.py
index 997acec0..cd5e3c3e 100644
--- a/command.py
+++ b/command.py
@@ -231,7 +231,12 @@ class MirrorSafeCommand(object):
231 and does not require a working directory. 231 and does not require a working directory.
232 """ 232 """
233 233
234class RequiresGitcCommand(object): 234class GitcAvailableCommand(object):
235 """Command that requires GITC to be available, but does 235 """Command that requires GITC to be available, but does
236 not require the local client to be a GITC client. 236 not require the local client to be a GITC client.
237 """ 237 """
238
239class GitcClientCommand(object):
240 """Command that requires the local client to be a GITC
241 client.
242 """