Show More
@@ -67,7 +67,7 b' class changectx(object):' | |||
|
67 | 67 | self._rev = r |
|
68 | 68 | self._node = repo.changelog.node(r) |
|
69 | 69 | return |
|
70 | except (ValueError, OverflowError): | |
|
70 | except (ValueError, OverflowError, IndexError): | |
|
71 | 71 | pass |
|
72 | 72 | |
|
73 | 73 | if len(changeid) == 40: |
@@ -186,6 +186,23 b' check that summary does not report them' | |||
|
186 | 186 | update: 3 new changesets, 4 branch heads (merge) |
|
187 | 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 | 206 | Check that public changeset are not accounted as obsolete: |
|
190 | 207 | |
|
191 | 208 | $ hg --hidden phase --public 2 |
General Comments 0
You need to be logged in to leave comments.
Login now