Show More
@@ -808,12 +808,13 b' class localrepository(object):' | |||||
808 | return repo[key].branch() |
|
808 | return repo[key].branch() | |
809 |
|
809 | |||
810 | def known(self, nodes): |
|
810 | def known(self, nodes): | |
811 |
|
|
811 | cl = self.changelog | |
812 | pc = self._phasecache |
|
812 | nm = cl.nodemap | |
|
813 | filtered = cl.filteredrevs | |||
813 | result = [] |
|
814 | result = [] | |
814 | for n in nodes: |
|
815 | for n in nodes: | |
815 | r = nm.get(n) |
|
816 | r = nm.get(n) | |
816 |
resp = not (r is None or |
|
817 | resp = not (r is None or r in filtered) | |
817 | result.append(resp) |
|
818 | result.append(resp) | |
818 | return result |
|
819 | return result | |
819 |
|
820 |
@@ -118,19 +118,17 b' server obsoletes the old head' | |||||
118 | $ cd .. |
|
118 | $ cd .. | |
119 |
|
119 | |||
120 | client only pulls down 1 changeset |
|
120 | client only pulls down 1 changeset | |
121 | ("all local heads known remotely" may change if the wire protocol discovery |
|
|||
122 | commands ever stop saying they have hidden changesets) |
|
|||
123 |
|
121 | |||
124 | $ cd pull-hidden-common-client |
|
122 | $ cd pull-hidden-common-client | |
125 | $ hg pull --debug |
|
123 | $ hg pull --debug | |
126 | pulling from $TESTTMP/pull-hidden-common (glob) |
|
124 | pulling from $TESTTMP/pull-hidden-common (glob) | |
127 | query 1; heads |
|
125 | query 1; heads | |
128 | searching for changes |
|
126 | searching for changes | |
129 | all local heads known remotely |
|
127 | taking quick initial sample | |
130 | 3 changesets found |
|
128 | query 2; still undecided: 2, sample size is: 2 | |
|
129 | 2 total queries | |||
|
130 | 1 changesets found | |||
131 | list of changesets: |
|
131 | list of changesets: | |
132 | 96ee1d7354c4ad7372047672c36a1f561e3a6a4c |
|
|||
133 | a33779fdfc23063680fc31e9ff637dff6876d3d2 |
|
|||
134 | bec0734cd68e84477ba7fc1d13e6cff53ab70129 |
|
132 | bec0734cd68e84477ba7fc1d13e6cff53ab70129 | |
135 | listing keys for "phase" |
|
133 | listing keys for "phase" | |
136 | listing keys for "bookmarks" |
|
134 | listing keys for "bookmarks" | |
@@ -141,14 +139,12 b' commands ever stop saying they have hidd' | |||||
141 | bundle2-input-bundle: with-transaction |
|
139 | bundle2-input-bundle: with-transaction | |
142 | bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported |
|
140 | bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported | |
143 | adding changesets |
|
141 | adding changesets | |
144 | add changeset 96ee1d7354c4 |
|
|||
145 | add changeset a33779fdfc23 |
|
|||
146 | add changeset bec0734cd68e |
|
142 | add changeset bec0734cd68e | |
147 | adding manifests |
|
143 | adding manifests | |
148 | adding file changes |
|
144 | adding file changes | |
149 | adding foo revisions |
|
145 | adding foo revisions | |
150 | added 1 changesets with 1 changes to 1 files (+1 heads) |
|
146 | added 1 changesets with 1 changes to 1 files (+1 heads) | |
151 |
bundle2-input-part: total payload size |
|
147 | bundle2-input-part: total payload size 474 | |
152 | bundle2-input-part: "listkeys" (params: 1 mandatory) supported |
|
148 | bundle2-input-part: "listkeys" (params: 1 mandatory) supported | |
153 | bundle2-input-part: "listkeys" (params: 1 mandatory) supported |
|
149 | bundle2-input-part: "listkeys" (params: 1 mandatory) supported | |
154 | bundle2-input-bundle: 2 parts total |
|
150 | bundle2-input-bundle: 2 parts total |
@@ -745,8 +745,7 b' This test issue 3805' | |||||
745 | $ hg outgoing |
|
745 | $ hg outgoing | |
746 | comparing with $TESTTMP/tmpe/repo-issue3805 (glob) |
|
746 | comparing with $TESTTMP/tmpe/repo-issue3805 (glob) | |
747 | searching for changes |
|
747 | searching for changes | |
748 | no changes found |
|
748 | 1:29f0c6921ddd (draft) [tip ] A | |
749 | [1] |
|
|||
750 |
|
749 | |||
751 | #if serve |
|
750 | #if serve | |
752 |
|
751 | |||
@@ -760,8 +759,7 b' This test issue 3805' | |||||
760 | $ hg outgoing http://localhost:$HGPORT |
|
759 | $ hg outgoing http://localhost:$HGPORT | |
761 | comparing with http://localhost:$HGPORT/ |
|
760 | comparing with http://localhost:$HGPORT/ | |
762 | searching for changes |
|
761 | searching for changes | |
763 | no changes found |
|
762 | 1:29f0c6921ddd (draft) [tip ] A | |
764 | [1] |
|
|||
765 |
|
763 | |||
766 | $ killdaemons.py |
|
764 | $ killdaemons.py | |
767 |
|
765 |
General Comments 0
You need to be logged in to leave comments.
Login now