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

Method checkpoint

git-p4.py:2980–2987  ·  view source on GitHub ↗

Force a checkpoint in fast-import and wait for it to finish.

(self)

Source from the content-addressed store, hash-verified

2978 self.labels = {}
2979
2980 def checkpoint(self):
2981 """Force a checkpoint in fast-import and wait for it to finish."""
2982 self.gitStream.write("checkpoint\n\n")
2983 self.gitStream.write("progress checkpoint\n\n")
2984 self.gitStream.flush()
2985 out = self.gitOutput.readline()
2986 if self.verbose:
2987 print("checkpoint finished: " + out)
2988
2989 def isPathWanted(self, path):
2990 for p in self.cloneExclude:

Callers 1

importChangesMethod · 0.95

Calls 2

writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected