Beispiel #1
0
 def callback(paths, revnum, author, date, message, pool):
     r = common.Revision(revnum,
                         author,
                         message,
                         date,
                         paths,
                         strip_path=self.subdir)
     revisions.append(r)
 def callback(paths, revnum, props, haschildren):
     if paths is None:
         return
     r = common.Revision(revnum,
                  props.get(properties.PROP_REVISION_AUTHOR),
                  props.get(properties.PROP_REVISION_LOG),
                  props.get(properties.PROP_REVISION_DATE),
                  dict([(_forceutf8(k), PathAdapter(*v))
                        for k, v in paths.iteritems()]),
                  strip_path=_forceutf8(self.subdir))
     revisions.append(r)
Beispiel #3
0
        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)

            committedrev.append(r)
 def commitcb(rev, date, author):
     r = common.Revision(rev, author, message, date)
     committedrev.append(r)