[Buildbot-commits] [Buildbot] #2322: Exception when checking out Mercurial repository

Buildbot nobody at buildbot.net
Tue Jun 26 08:38:38 UTC 2012


#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


More information about the Commits mailing list