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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Wrapper for a Subversion revision.

Derives from tuple in an attempt to minimise the memory footprint.

src/h/g/hgsubversion-1.6/hgsubversion/svnwrap/svn_swig_wrapper.py   hgsubversion(Download)
            def callback(paths, revnum, author, date, message, pool):
                r = common.Revision(revnum, author, message, date, paths,
                                    strip_path=self.subdir)
                revisions.append(r)
            # we only access revisions in a FIFO manner
        def commit_cb(commit_info, pool):
            # disregard commit_info.post_commit_err for now
            r = common.Revision(commit_info.revision, commit_info.author,
                                message, commit_info.date)
 

src/h/g/hgsubversion-1.6/hgsubversion/svnwrap/subvertpy_wrapper.py   hgsubversion(Download)
            def callback(paths, revnum, props, haschildren):
                if paths is None:
                    return
                r = common.Revision(revnum,
                             props.get(properties.PROP_REVISION_AUTHOR),
        def commitcb(rev, date, author):
            r = common.Revision(rev, author, message, date)
            committedrev.append(r)
 
        committedrev = []