Blame view

3rdparty/ffmpeg-4.4.4/x264/tools/digress/scm/dummy.py 620 Bytes
f244cbd5   Hu Chunming   ffmpeg支持h264编码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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")