Package: tailor Severity: normal
When converting from a mercurial repository to a git repository 19:46:42 [C] Unable to get changes for "project" 19:46:42 [C] Something unexpected! Traceback (most recent call last): File "/usr/lib/pymodules/python2.5/vcpx/tailor.py", line 154, in __call__ self.update() File "/usr/lib/pymodules/python2.5/vcpx/tailor.py", line 104, in update pendings = dwd.getPendingChangesets() File "/usr/lib/pymodules/python2.5/vcpx/source.py", line 212, in getPendingChangesets self.state_file.setPendingChangesets(changesets) File "/usr/lib/pymodules/python2.5/vcpx/statefile.py", line 230, in setPendingChangesets self._write(changesets) File "/usr/lib/pymodules/python2.5/vcpx/statefile.py", line 86, in _write for cs in changesets: File "/usr/lib/pymodules/python2.5/vcpx/repository/hg.py", line 103, in _getUpstreamChangesets repo.changelog.count()): AttributeError: 'changelog' object has no attribute 'count' This patch seems to solve the issue. --- a/vcpx/repository/hg.py 2009-06-06 19:27:12.000000000 +0200 +++ b/vcpx/repository/hg.py 2009-06-06 18:22:29.000000000 +0200 @@ -100,7 +100,7 @@ from mercurial.node import bin for rev in xrange(repo.changelog.rev(bin(sincerev)) + 1, - repo.changelog.count()): + len (repo.changelog)): yield self._changesetForRevision(repo, str(rev)) def _applyChangeset(self, changeset): -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages tailor depends on: ii python 2.5.4-2 An interactive high-level object-o ii python-support 1.0.3 automated rebuilding support for P Versions of packages tailor recommends: ii rsync 3.0.5-1 fast remote file copy program (lik Versions of packages tailor suggests: pn bazaar <none> (no description available) pn bzr <none> (no description available) pn codeville <none> (no description available) ii cvs 1:1.12.13-12 Concurrent Versions System ii darcs 2.2.0-1 a distributed, interactive, smart ii git-core 1:1.6.3.1-1 fast, scalable, distributed revisi ii mercurial 1.2-1 scalable distributed version contr pn monotone <none> (no description available) ii subversion 1.5.6dfsg-1 Advanced version control system ii tla 1.3.5+dfsg-14 GNU Arch revision control system -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org