[Pkg-bazaar-commits] ./bzr/unstable r566: - fix bug in reporting diffs between trees where files have

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:18:58 UTC 2009


------------------------------------------------------------
revno: 566
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Fri 2005-05-27 02:56:53 +1000
message:
  - fix bug in reporting diffs between trees where files have
    been deleted
modified:
  bzrlib/diff.py
-------------- next part --------------
=== modified file 'bzrlib/diff.py'
--- a/bzrlib/diff.py	2005-05-26 02:13:57 +0000
+++ b/bzrlib/diff.py	2005-05-26 16:56:53 +0000
@@ -291,6 +291,7 @@
             elif want_unchanged:
                 delta.unchanged.append((new_path, file_id, kind))
         else:
+            kind = old_inv.get_file_kind(file_id)
             old_path = old_inv.id2path(file_id)
             if specific_files:
                 if not is_inside_any(specific_files, old_path):



More information about the Pkg-bazaar-commits mailing list