Your message dated Thu, 13 Jan 2011 21:32:18 +0000
with message-id <[email protected]>
and subject line Bug#600191: fixed in bzrtools 2.3.0~bzr744-3
has caused the Debian Bug report #600191,
regarding bzr-git: Generation of Git-like diff doesn't work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
600191: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600191
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bzr-git
Version: 0.5.2-1
Severity: normal

Hello,

I'm trying to generate a Git-like diff from a Bzr changeset, but I got
the following traceback:

$  bzr diff -c 141 --format=git
diff --git a/spydaap/server.py b/spydaap/server.py
index 157ac5f..20b263f 100644
bzr: ERROR: exceptions.AttributeError: 'DiffWriter' object has no attribute 
'writelines'

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 911, in 
exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1111, in 
run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools/command.py", 
line 22, in run_argv_aliases
    commands.Command.run_argv_aliases(self, argv, alias_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 689, in 
run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 704, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in 
run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in 
_do_with_cleanups
    result = func(*args, **kwargs)
  File 
"/usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools/command_classes.py", 
line 526, in run
    colordiff(color, check_style, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools/colordiff.py", 
line 203, in colordiff
    get_cmd_object('diff').run(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 704, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in 
run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in 
_do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1126, in 
ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1982, in run
    format_cls=format)
  File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 493, in 
show_diff_trees
    return differ.show_diff(specific_files, extra_trees)
  File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 942, in show_diff
    return self._show_diff(specific_files, extra_trees)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/send.py", line 106, 
in _show_diff
    (path_encoded[1], mode[1], contents[1]))
  File "/usr/lib/pymodules/python2.6/dulwich/patch.py", line 143, in 
write_blob_diff
    f.writelines(unified_diff(old_contents, new_contents,
AttributeError: 'DiffWriter' object has no attribute 'writelines'

bzr 2.2.0 on python 2.6.6 (Linux-2.6.32-5-amd64-x86_64-with-debian-squeeze-sid)
arguments: ['/usr/bin/bzr', 'diff', '-c', '141', '--format=git']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fr_FR.UTF-8'
plugins:
  bash_completion      
/usr/lib/python2.6/dist-packages/bzrlib/plugins/bash_completion [2.2.0]
  bzrtools             /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools 
[2.2.0]
  dbus                 /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus 
[0.1.0dev]
  git                  /usr/lib/python2.6/dist-packages/bzrlib/plugins/git 
[0.5.2]
  gtk                  /usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk 
[0.99.0]
  launchpad            
/usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.2.0]
  netrc_credential_store 
/usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.2.0]
  news_merge           
/usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.2.0]
  qbzr                 /usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr 
[0.19.0]

*** Bazaar has encountered an internal error.  This probably indicates a
    bug in Bazaar.  You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Generating the diff with the default format works.

Thanks,

 Jonathan

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bzr-git depends on:
ii  bzr                          2.2.0-1     easy to use distributed version co
ii  python                       2.6.6-3     interactive high-level object-orie
ii  python-central               0.6.16+nmu1 register and build utility for Pyt
ii  python-dulwich               0.6.1-1     Pure-python Git library

Versions of packages bzr-git recommends:
ii  python-tdb                    1.2.1-2+b1 Python bindings for TDB

bzr-git suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: bzrtools
Source-Version: 2.3.0~bzr744-3

We believe that the bug you reported is fixed in the latest version of
bzrtools, which is due to be installed in the Debian FTP archive:

bzrtools_2.3.0~bzr744-3.debian.tar.gz
  to main/b/bzrtools/bzrtools_2.3.0~bzr744-3.debian.tar.gz
bzrtools_2.3.0~bzr744-3.dsc
  to main/b/bzrtools/bzrtools_2.3.0~bzr744-3.dsc
bzrtools_2.3.0~bzr744-3_all.deb
  to main/b/bzrtools/bzrtools_2.3.0~bzr744-3_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jelmer Vernooij <[email protected]> (supplier of updated bzrtools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 18 Dec 2010 01:19:54 +0100
Source: bzrtools
Binary: bzrtools
Architecture: source all
Version: 2.3.0~bzr744-3
Distribution: unstable
Urgency: low
Maintainer: Debian Bazaar Maintainers <[email protected]>
Changed-By: Jelmer Vernooij <[email protected]>
Description: 
 bzrtools   - Collection of tools for bzr
Closes: 600191
Changes: 
 bzrtools (2.3.0~bzr744-3) unstable; urgency=low
 .
   * Fix "bzr cdiff --git". Closes: #600191
Checksums-Sha1: 
 91684e928bf08c27eef56e80f149333eafd59f38 1516 bzrtools_2.3.0~bzr744-3.dsc
 040e6494d58fba03945ac64a0ce8dbe004cec109 7675 
bzrtools_2.3.0~bzr744-3.debian.tar.gz
 7e67ea368ae9bfc7376a2062de424643c95963c4 65140 bzrtools_2.3.0~bzr744-3_all.deb
Checksums-Sha256: 
 2840db4a9f890644050e1f55631a01e8e016f1958398fbea6b15000e1c31b572 1516 
bzrtools_2.3.0~bzr744-3.dsc
 705c902785aaee1e98be0169e1855d3f2eeb1cf5a6d6e8b3f40eb82f71031035 7675 
bzrtools_2.3.0~bzr744-3.debian.tar.gz
 a61f1bb9549fffc91037812439abc8c1606d12e1e52566d94de56cfa2002ca67 65140 
bzrtools_2.3.0~bzr744-3_all.deb
Files: 
 02cb90343b39c4931851d9219cbf5285 1516 vcs optional bzrtools_2.3.0~bzr744-3.dsc
 37b03eab3f5736cb3f9493db4b0e2bac 7675 vcs optional 
bzrtools_2.3.0~bzr744-3.debian.tar.gz
 877252b04ccc1d2226b8824f4c659058 65140 vcs optional 
bzrtools_2.3.0~bzr744-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk0vbpwACgkQPa9Uoh7vUnb/IgCfQ0KuFel5EbjIjB7HoEBFbB/r
4eUAmweYxk4hJarlUZIkmavv6ulYxx7D
=V2Uw
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to