def define_revision(self, revision, timestamp, author, state, branches,
                     next):
     if not self.is_on_branch(revision):
         branches = [
             branch for branch in branches
             if not self.is_on_branch(branch)
         ]
         FilterSink.define_revision(self, revision, timestamp, author,
                                    state, branches, next)
 def define_revision(
     self, revision, timestamp, author, state, branches, next
     ):
     if not self.is_on_branch(revision):
         branches = [
             branch
             for branch in branches
             if not self.is_on_branch(branch)
             ]
         FilterSink.define_revision(
             self, revision, timestamp, author, state, branches, next
             )
Beispiel #3
0
 def set_revision_info(self, revision, log, text):
     if not self.is_on_branch(revision):
         FilterSink.set_revision_info(self, revision, log, text)
Beispiel #4
0
 def define_tag(self, name, revision):
     if not self.is_on_branch(revision):
         FilterSink.define_tag(self, name, revision)
Beispiel #5
0
 def __init__(self, sink, branch_rev):
     FilterSink.__init__(self, sink)
     self.branch_rev = branch_rev
Beispiel #6
0
 def define_tag(self, name, revision):
     if name != self.tagname:
         FilterSink.define_tag(self, name, revision)
Beispiel #7
0
 def __init__(self, sink, tagname):
     FilterSink.__init__(self, sink)
     self.tagname = tagname