Kiln » Dependencies » Dulwich Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in master

Merge fix for handling None elements in list of TreeChange objects.

Changeset a186ff8a29fa

Parents c63ddf638b09

Parents 9f5cca611154

by Jelmer Vernooij

Changes to 2 files · Browse files at a186ff8a29fa Showing diff from parent c63ddf638b09 9f5cca611154 Diff from another changeset...

Change 1 of 1 Show Entire File NEWS Stacked
 
27
28
29
 
 
30
31
32
 
27
28
29
30
31
32
33
34
@@ -27,6 +27,8 @@
    * Commit._deserialize now actually deserializes the current state rather than   the previous one. (Yifan Zhang, issue #59) + + * Handle None elements in lists of TreeChange objects. (Alex Holmes)    0.8.5 2012-03-29  
Change 1 of 1 Show Entire File dulwich/​walk.py Stacked
 
255
256
257
 
 
 
258
259
260
 
255
256
257
258
259
260
261
262
263
@@ -255,6 +255,9 @@
  return False     def _change_matches(self, change): + if not change: + return False +   old_path = change.old.path   new_path = change.new.path   if self._path_matches(new_path):