# HG changeset patch # User Jeff Hammel # Date 1295745283 28800 # Node ID 41370b2f96e0ef2cfe9a821be4793f0c8ac67ca5 # Parent 7c63adbb5eecc88966d704b145b09a91936847ec starting to get to the changelist diff -r 7c63adbb5eec -r 41370b2f96e0 autobot/changes/poller.py --- a/autobot/changes/poller.py Sat Jan 22 17:05:40 2011 -0800 +++ b/autobot/changes/poller.py Sat Jan 22 17:14:43 2011 -0800 @@ -195,7 +195,9 @@ return d def _process_change_list(self, changelist): - + + log.msg('this is the changelist: %s' % changelist) + return # process oldest change first revList = changelist.split() if not revList or revList == ['']: @@ -309,6 +311,13 @@ d = utils.getProcessOutput(self.binary, ['log', '-r', range, '--template', '{node}\\n'], path=self.workdir, env=dict(PATH=os.environ['PATH']), errortoo=False ) + def split_changes(raw_changes): + changes = raw_changes.strip() + if not changes: + return [] + return reverse(changes.split()) + d.addCallback(split_changes) + return d def _catch_up(self, rev):