MCPcopy
hub / github.com/gitless-vcs/gitless / delete

Method delete

gitless/core.py:589–593  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

587 self.branch_name = self.git_branch.branch_name[len(self.remote_name) + 1:]
588
589 def delete(self):
590 try:
591 git.push(self.remote_name, ':{0}'.format(self.branch_name))
592 except ErrorReturnCode as e:
593 raise GlError(stderr(e))
594
595 @property
596 def target(self):

Callers

nothing calls this directly

Calls 2

GlErrorClass · 0.85
stderrFunction · 0.70

Tested by

no test coverage detected