# HG changeset patch # User Scott Chacon # Date 1240791775 25200 # Node ID 5a98480a0806744acead1e5a6c4776493e9acc92 # Parent 36e94e805fa79605d613cd032c5ac110297661f4 ignoring submodule entries diff -r 36e94e805fa7 -r 5a98480a0806 dulwich/repo.py --- a/dulwich/repo.py Sun Apr 26 16:25:04 2009 -0700 +++ b/dulwich/repo.py Sun Apr 26 17:22:55 2009 -0700 @@ -355,6 +355,8 @@ csha = None ctree = None for (bmode, bname, bsha) in basetree.entries(): + if bmode == 57344: # TODO : properly handle submodules + continue bobj = self.get_object(bsha) if comptree: (cmode, csha) = comptree.entry(bname)