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

Function p4ParseNumericChangeRange

git-p4.py:1267–1274  ·  view source on GitHub ↗
(parts)

Source from the content-addressed store, hash-verified

1265
1266
1267def p4ParseNumericChangeRange(parts):
1268 changeStart = int(parts[0][1:])
1269 if parts[1] == '#head':
1270 changeEnd = p4_last_change()
1271 else:
1272 changeEnd = int(parts[1])
1273
1274 return (changeStart, changeEnd)
1275
1276
1277def chooseBlockSize(blockSize):

Callers 1

p4ChangesForPathsFunction · 0.85

Calls 1

p4_last_changeFunction · 0.85

Tested by

no test coverage detected