# HG changeset patch # User Jeff Hammel # Date 1296586940 28800 # Node ID d7e79194e9717260d6ed438cae6a656cd629dadc # Parent a654af3c3f5054c2dfa535a594340a46c8af1f08 more blind stabbing in the dark and wasting everyones time diff -r a654af3c3f50 -r d7e79194e971 autobot/changes/poller.py --- a/autobot/changes/poller.py Tue Feb 01 10:34:36 2011 -0800 +++ b/autobot/changes/poller.py Tue Feb 01 11:02:20 2011 -0800 @@ -415,11 +415,18 @@ """ get hash of where you are now: git show-ref HEAD --hash + -or- + git rev-parse HEAD """ - d = utils.getProcessOutput(self.binary, ['show-ref', 'HEAD', '--hash'], + d = utils.getProcessOutput(self.binary, ['show-ref', 'HEAD', '--hash', self.branch], path=self.workdir, env=dict(PATH=os.environ['PATH']), errortoo=False ) +# d = utils.getProcessOutput(self.binary, ['rev-parse', 'HEAD'], +# path=self.workdir, +# env=dict(PATH=os.environ['PATH']), errortoo=False ) + + return d def _change_list(self, _):