Ejemplo n.º 1
0
 def annotate(self, path_parts, rev=None, include_text=False):
     if self.itemtype(path_parts, rev) != vclib.FILE:  # does auth-check
         raise vclib.Error("Path '%s' is not a file." %
                           (_path_join(path_parts)))
     source = blame.BlameSource(self.rcsfile(path_parts, 1), rev,
                                include_text)
     return source, source.revision
Ejemplo n.º 2
0
 def annotate(self, path_parts, rev=None):
     if self.itemtype(path_parts, rev) != vclib.FILE:  # does auth-check
         raise vclib.Error("Path '%s' is not a file." %
                           (string.join(path_parts, "/")))
     source = blame.BlameSource(self.rcsfile(path_parts, 1), rev)
     return source, source.revision
Ejemplo n.º 3
0
 def annotate(self, path_parts, rev=None):
     source = blame.BlameSource(self.rcsfile(path_parts, 1), rev)
     return source, source.revision