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

object_store: Remove empty pack files when not moving them into the objects/ directory.

Changeset f841bf00fd93

Parent ddede158dd7d

by Jelmer Vernooij

Changes to one file · Browse files at f841bf00fd93 Showing diff from parent ddede158dd7d Diff from another changeset...

 
454
455
456
 
457
458
459
 
471
472
473
 
474
475
476
 
454
455
456
457
458
459
460
 
472
473
474
475
476
477
478
@@ -454,6 +454,7 @@
  if os.path.getsize(path) > 0:   return self.move_in_thin_pack(path)   else: + os.remove(path)   return None   return f, commit   @@ -471,6 +472,7 @@
  if os.path.getsize(path) > 0:   return self.move_in_pack(path)   else: + os.remove(path)   return None   return f, commit