Explorar el Código

Print refs after fetch.

Jelmer Vernooij hace 12 años
padre
commit
f4b3e92c27
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      bin/dulwich

+ 3 - 0
bin/dulwich

@@ -65,6 +65,9 @@ def cmd_fetch(args):
     if "--all" in opts:
         determine_wants = r.object_store.determine_wants_all
     refs = client.fetch(path, r, progress=sys.stdout.write)
+    print "Remote refs:"
+    for item in refs.iteritems():
+        print "%s -> %s" % item
 
 
 def cmd_log(args):