##// END OF EJS Templates
clfilter: stronger detection of filtered changeset in changectx.__init__...
Pierre-Yves David -
r18423:5d6ee249 default
parent child Browse files
Show More
@@ -67,7 +67,7 b' class changectx(object):'
67 self._rev = r
67 self._rev = r
68 self._node = repo.changelog.node(r)
68 self._node = repo.changelog.node(r)
69 return
69 return
70 except (ValueError, OverflowError):
70 except (ValueError, OverflowError, IndexError):
71 pass
71 pass
72
72
73 if len(changeid) == 40:
73 if len(changeid) == 40:
@@ -186,6 +186,23 b' check that summary does not report them'
186 update: 3 new changesets, 4 branch heads (merge)
186 update: 3 new changesets, 4 branch heads (merge)
187 remote: 3 outgoing
187 remote: 3 outgoing
188
188
189 check that various commands work well with filtering
190
191 $ hg tip
192 changeset: 5:5601fb93a350
193 tag: tip
194 parent: 1:7c3bad9141dc
195 user: test
196 date: Thu Jan 01 00:00:00 1970 +0000
197 summary: add new_3_c
198
199 $ hg log -r 6
200 abort: unknown revision '6'!
201 [255]
202 $ hg log -r 4
203 abort: unknown revision '4'!
204 [255]
205
189 Check that public changeset are not accounted as obsolete:
206 Check that public changeset are not accounted as obsolete:
190
207
191 $ hg --hidden phase --public 2
208 $ hg --hidden phase --public 2
General Comments 0
You need to be logged in to leave comments. Login now