mercurial/localrepo.py
changeset 20221 7401bb54fe76
parent 20220 2888a412f0b0
child 20222 228ae760942f
--- a/mercurial/localrepo.py	Sat Nov 16 15:36:50 2013 -0500
+++ b/mercurial/localrepo.py	Tue Nov 05 18:37:44 2013 +0100
@@ -1852,7 +1852,8 @@
                     # TODO: get bundlecaps from remote
                     bundlecaps = None
                     # create a changegroup from local
-                    if revs is None and not outgoing.excluded:
+                    if revs is None and not (outgoing.excluded
+                                             or self.changelog.filteredrevs):
                         # push everything,
                         # use the fast path, no race possible on push
                         bundler = changegroup.bundle10(self, bundlecaps)