diff --git a/hgext/narrow/narrowbundle2.py b/hgext/narrow/narrowbundle2.py
--- a/hgext/narrow/narrowbundle2.py
+++ b/hgext/narrow/narrowbundle2.py
@@ -67,11 +67,10 @@
     """
     # XXX: This patch will start sending bundle2 after couple of patches when
     # called from the wireprotocol command
-    common = repo.revs("::%ln", common)
     commonnodes = set()
     cl = repo.changelog
-    for c in common:
-        commonnodes.add(cl.node(c))
+    for r in repo.revs("::%ln", common):
+        commonnodes.add(cl.node(r))
     if commonnodes:
         # XXX: we should only send the filelogs (and treemanifest). user
         # already has the changelog and manifest