changeset 180:d7e79194e971

more blind stabbing in the dark and wasting everyones time
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 01 Feb 2011 11:02:20 -0800
parents a654af3c3f50
children 941ea8544756
files autobot/changes/poller.py
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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, _):