x264 source for verification 2026-05-22
This commit is contained in:
41
tools/digress/scm/dummy.py
Normal file
41
tools/digress/scm/dummy.py
Normal file
@@ -0,0 +1,41 @@
|
||||
"""
|
||||
Dummy SCM backend for Digress.
|
||||
"""
|
||||
|
||||
from random import random
|
||||
|
||||
def checkout(revision):
|
||||
"""
|
||||
Checkout a revision.
|
||||
"""
|
||||
pass
|
||||
|
||||
def current_rev():
|
||||
"""
|
||||
Get the current revision
|
||||
"""
|
||||
return str(random())
|
||||
|
||||
def revisions(rev_a, rev_b):
|
||||
"""
|
||||
Get a list of revisions from one to another.
|
||||
"""
|
||||
pass
|
||||
|
||||
def stash():
|
||||
"""
|
||||
Stash the repository.
|
||||
"""
|
||||
pass
|
||||
|
||||
def unstash():
|
||||
"""
|
||||
Unstash the repository.
|
||||
"""
|
||||
pass
|
||||
|
||||
def bisect(command, revision):
|
||||
"""
|
||||
Perform a bisection.
|
||||
"""
|
||||
raise NotImplementedError("dummy SCM backend does not support bisection")
|
||||
Reference in New Issue
Block a user