Rev 4579: Give a clearer error on bad input to dirstate iter_changes objects. in http://bazaar.launchpad.net/~lifeless/bzr/iter-changes-partial-parents

Robert Collins robertc at robertcollins.net
Tue Aug 4 02:17:48 BST 2009


At http://bazaar.launchpad.net/~lifeless/bzr/iter-changes-partial-parents

------------------------------------------------------------
revno: 4579
revision-id: robertc at robertcollins.net-20090804011746-z9y8jwcefa1njs81
parent: robertc at robertcollins.net-20090804011713-qtkqq7b22fpsxzae
committer: Robert Collins <robertc at robertcollins.net>
branch nick: iter-changes-partial-parents
timestamp: Tue 2009-08-04 11:17:46 +1000
message:
  Give a clearer error on bad input to dirstate iter_changes objects.
=== modified file 'bzrlib/_dirstate_helpers_pyx.pyx'
--- a/bzrlib/_dirstate_helpers_pyx.pyx	2009-08-03 03:36:47 +0000
+++ b/bzrlib/_dirstate_helpers_pyx.pyx	2009-08-04 01:17:46 +0000
@@ -1020,7 +1020,7 @@
         if include_unchanged is None:
             self.include_unchanged = False
         else:
-            self.include_unchanged = include_unchanged
+            self.include_unchanged = int(include_unchanged)
         self.use_filesystem_for_exec = use_filesystem_for_exec
         self.utf8_decode = cache_utf8._utf8_decode
         # for all search_indexs in each path at or under each element of




More information about the bazaar-commits mailing list