MCPcopy Create free account
hub / github.com/git/git / die

Function die

git-p4.py:188–196  ·  view source on GitHub ↗

Terminate execution. Make sure that any running child processes have been wait()ed for before calling this.

(msg)

Source from the content-addressed store, hash-verified

186
187
188def die(msg):
189 """Terminate execution. Make sure that any running child processes have
190 been wait()ed for before calling this.
191 """
192 if verbose:
193 raise Exception(msg)
194 else:
195 sys.stderr.write(msg + "\n")
196 sys.exit(1)
197
198
199def prompt(prompt_text):

Callers 15

write_pipeFunction · 0.70
read_pipeFunction · 0.70
read_pipe_linesFunction · 0.70
die_bad_accessFunction · 0.70
p4_describeFunction · 0.70
getP4OpenedTypeFunction · 0.70
p4ChangesForPathsFunction · 0.70
getClientSpecFunction · 0.70
getClientRootFunction · 0.70
generatePointerMethod · 0.70
pushFileMethod · 0.70
p4UserIdMethod · 0.70

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected