#2322: Exception when checking out Mercurial repository
---------------------+-----------------------
Reporter:  pepsiman  |      Owner:
    Type:  defect    |     Status:  new
Priority:  major     |  Milestone:  undecided
 Version:  0.8.6p1   |   Keywords:
---------------------+-----------------------
 When buildbot checks out my Mercurial repository this exception is
 reported:

 {{{
 Traceback (most recent call last):
   File "buildbot-0.8.6p1/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 290, in addCallbacks
     self._runCallbacks()
   File "buildbot-0.8.6p1/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 551, in _runCallbacks
     current.result = callback(current.result, *args, **kw)
   File "buildbot-0.8.6p1/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 368, in callback
     self._startRunCallbacks(result)
   File "buildbot-0.8.6p1/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
     self._runCallbacks()
 --- <exception caught here> ---
   File "buildbot-0.8.6p1/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 551, in _runCallbacks
     current.result = callback(current.result, *args, **kw)
   File "buildbot-0.8.6p1/lib/python2.7/site-
 packages/buildbot/steps/source/mercurial.py", line 200, in _setrev
     raise ValueError("Incorrect revision id")
 exceptions.ValueError: Incorrect revision id
 }}}

 The stdio log says:
 {{{
 hg --verbose identify --id --debug
 ...
 eol: detected change in .hgeol
 filtering .hgsub through
 filtering .hgsubstate through
 filtering .hgeol through
 filtering .hgignore through
 filtering .hgrc through
 filtering .hgsub through
 filtering .hgsubstate through
 filtering .hgtags through
 ...
 a6f56d22fd967ba6ca33c067f55a3f38aa439fdf
 program finished with exit code 0
 elapsedTime=36.483546
 }}}

 The eol and filtering lines are confusing buildbot.


 http://selenic.com/pipermail/mercurial-devel/2010-June/021550.html
 suggests using
 "hg parents --template '{node}\n'" instead of "hg identify --id --debug"

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2322>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to