Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(6)  |  Derive(0)  |  Import(2)

src/c/v/CVSAnalY-HEAD/pycvsanaly2/DBContentHandler.py   CVSAnalY(Download)

src/m/i/MininGit-HEAD/pycvsanaly2/DBContentHandler.py   MininGit(Download)
 
from ContentHandler import ContentHandler
from Database import (DBRepository, DBLog, DBFile, DBFileLink,
                      DBAction, DBFileCopy, DBBranch, DBPerson, DBTag,
                      DBTagRev, statement, MysqlDatabase)
                                            from_commit_id, True)
 
        dbfilecopy = DBFileCopy(None, file_id)
        dbfilecopy.action_id = dbaction.id
        dbfilecopy.from_commit = from_commit_id
        self.file_cache[path] = (file_id, parent_id)
 
        dbfilecopy = DBFileCopy(None, file_id)
        dbfilecopy.from_id = from_file_id
        dbfilecopy.action_id = dbaction.id
        # Register the action in the copies table in order to
        # be able to know which file replaced this file
        dbfilecopy = DBFileCopy(None, new_file_id)
        dbfilecopy.from_id = from_file_id
        dbfilecopy.action_id = dbaction.id