Doesn't work with Mercurial 0.9.4

Bug #153862 reported by Roman Kennke
4
Affects Status Importance Assigned to Milestone
tailor (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: tailor

Tailor used to work with Mercurial repositories in Feisty, but after upgrading to Gutsy (with Mercurial 0.9.4) it crashes (see below). Seems like something got out of sync there. Using the current tailor package from Debian unstable seems to fix the problem.

roman@mercury:~/src/hg/jamaica-head$ tailor --configfile jamaica.tailor
12:37:13 [I] Updating "project" in "/home/roman/src/hg/jamaica-head"
12:37:13 [I] Applying pending upstream changesets
12:37:13 [I] Changeset #1
12:37:13 [I] Changeset "2007-10-17 00:36:25 by rupp"
12:37:13 [I] Log message: - tried to fix single-threaded Jamaica (still not working!)
- clean-up
12:37:14 [I] Committing u'[project @ 2007-10-17 00:36:25 by rupp]'...
12:37:14 [E] Couldn't replay changeset
Revision: 2007-10-17 00:36:25 by rupp
Date: 2007-10-17 00:36:25+00:00
Author: rupp
Entries: src/standardVM/runtime/jamaica_threads.c(UPD to 1.417), src/standardVM/runtime/jamaica_threads.h(UPD to 1.176)
Log: - tried to fix single-threaded Jamaica (still not working!)
- clean-up
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/vcpx/source.py", line 141, in applyPendingChangesets
    replay(c)
  File "/var/lib/python-support/python2.5/vcpx/dualwd.py", line 107, in replayChangeset
    self.target.replayChangeset(changeset)
  File "/var/lib/python-support/python2.5/vcpx/target.py", line 126, in replayChangeset
    entries, tags = changeset.tags)
  File "/var/lib/python-support/python2.5/vcpx/repository/hg.py", line 294, in _commit
    self._hgCommand('commit', **opts)
  File "/var/lib/python-support/python2.5/vcpx/repository/hg.py", line 339, in _hgCommand
    allopts = self._defaultOpts(cmd)
  File "/var/lib/python-support/python2.5/vcpx/repository/hg.py", line 333, in _defaultOpts
    findcmd = commands.find
AttributeError: 'module' object has no attribute 'find'
12:37:14 [C] Upstream change application failed
Traceback (most recent call last):
  File "/usr/bin/tailor", line 35, in <module>
    main()
  File "/var/lib/python-support/python2.5/vcpx/tailor.py", line 339, in main
    tailorizer()
  File "/var/lib/python-support/python2.5/vcpx/tailor.py", line 147, in __call__
    self.update()
  File "/var/lib/python-support/python2.5/vcpx/tailor.py", line 111, in update
    applyable=self._applyable, applied=self._applied)
  File "/var/lib/python-support/python2.5/vcpx/dualwd.py", line 97, in applyPendingChangesets
    applied=applied)
  File "/var/lib/python-support/python2.5/vcpx/source.py", line 141, in applyPendingChangesets
    replay(c)
  File "/var/lib/python-support/python2.5/vcpx/dualwd.py", line 107, in replayChangeset
    self.target.replayChangeset(changeset)
  File "/var/lib/python-support/python2.5/vcpx/target.py", line 126, in replayChangeset
    entries, tags = changeset.tags)
  File "/var/lib/python-support/python2.5/vcpx/repository/hg.py", line 294, in _commit
    self._hgCommand('commit', **opts)
  File "/var/lib/python-support/python2.5/vcpx/repository/hg.py", line 339, in _hgCommand
    allopts = self._defaultOpts(cmd)
  File "/var/lib/python-support/python2.5/vcpx/repository/hg.py", line 333, in _defaultOpts
    findcmd = commands.find
AttributeError: 'module' object has no attribute 'find'

Revision history for this message
Sean Dague (sdague) wrote :

I've also experienced the same issue. This has caused grief in one of my projects already.

Revision history for this message
Sean Dague (sdague) wrote :

This looks to be a 0.9.29 release of tailor out there upgrading tailor may be the right solution here.

Revision history for this message
Roman Kennke (roman-kennke) wrote :

Sean: As I already noted, a good way to fix the problem is to use the package from Debian unstable:

http://packages.debian.org/sid/tailor

Cheers, Roman

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Fixed in hardy

Changed in tailor:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.