Mercurial > public > mercurial-scm > hg
diff tests/test-log.t @ 19471:fd1bb7c1be78 stable
revlog: handle hidden revs in _partialmatch (issue3979)
Looking up hidden prefixes could cause a no node exception
Looking up unique non-hidden prefixes could be ambiguous
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 23 Jul 2013 17:28:12 -0500 |
parents | d982edcfe7f0 |
children | 58c32a9c8e7b |
line wrap: on
line diff
--- a/tests/test-log.t Tue Jul 23 14:18:56 2013 -0500 +++ b/tests/test-log.t Tue Jul 23 17:28:12 2013 -0500 @@ -1223,6 +1223,9 @@ $ hg log --template='{rev}:{node}\n' --hidden 1:a765632148dc55d38c35c4f247c618701886cb2f 0:9f758d63dcde62d547ebfb08e1e7ee96535f2b05 + $ hg log -r a + abort: unknown revision 'a'! + [255] test that parent prevent a changeset to be hidden