MCPcopy Index your code
hub / github.com/git/git / sync_origin_only

Method sync_origin_only

git-p4.py:3889–3895  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3887 sys.exit(1)
3888
3889 def sync_origin_only(self):
3890 if self.syncWithOrigin:
3891 self.hasOrigin = originP4BranchesExist()
3892 if self.hasOrigin:
3893 if not self.silent:
3894 print('Syncing with origin first, using "git fetch origin"')
3895 system(["git", "fetch", "origin"])
3896
3897 def importHeadRevision(self, revision):
3898 print("Doing initial import of %s from revision %s into %s" % (' '.join(self.depotPaths), revision, self.branch))

Callers 2

runMethod · 0.95
runMethod · 0.95

Calls 2

originP4BranchesExistFunction · 0.85
systemFunction · 0.85

Tested by

no test coverage detected