Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ac2git.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

logger = None

ignored_transaction_types = [ "archive", "compress", "defcomp", "dispatch", "unarchive" ]
ignored_transaction_types = [ "archive", "compress", "dispatch", "unarchive" ]

# Taken from this StackOverflow answer: http://stackoverflow.com/a/19238551
# Compulsary quote: https://twitter.com/codinghorror/status/712467615780708352
Expand Down
14 changes: 0 additions & 14 deletions accurev.py
Original file line number Diff line number Diff line change
Expand Up @@ -2622,20 +2622,6 @@ def deep_hist(depot=None, stream=None, timeSpec='now', ignoreTimelocks=False, us
else:
ts.start = mkstreamTr.id

# Special case: Accurev pass-through stream
# -----------------------------------------
# Here we will only restrict the timeSpec to be after the pass-through stream was created and return the history of the parent
# stream instead with an early return.
if streamInfo.Type == "passthrough":
if streamInfo.basisStreamNumber is None:
return []

rv = ext.deep_hist(depot=depot, stream=streamInfo.basis, timeSpec=ts, ignoreTimelocks=ignoreTimelocks, useCache=useCache)
if not isAsc:
rv.reverse()

return rv

#print('{0}:{1}'.format(stream, ts)) # debug info

# Perform deep-hist algorithm
Expand Down