Add comments
authorJohn Carr <john.carr@unrouted.co.uk>
Wed, 17 Dec 2008 16:56:23 +0000 (16:56 +0000)
committerJohn Carr <john.carr@unrouted.co.uk>
Wed, 17 Dec 2008 16:56:23 +0000 (16:56 +0000)
dulwich/server.py

index 6937ecad9a278fab7ea4b5ddbe2dac7ec055166e..820be9d232a7a5498dc609d060719d36ae8a3303 100644 (file)
@@ -191,9 +191,11 @@ class ReceivePackHandler(Handler):
             client_refs.append(ref.split())
             ref = self.read_pkt_line()
 
+        # client might hang up without sending us any refs
         if len(client_refs) == 0:
             return None
 
+        # backend can now deal with this refs and read a pack using self.read
         self.backend.apply_pack(client_refs, self.read)