diff tests/test-bookmarks-pushpull.t @ 17865:daf32ebfde6b stable

bookmark: prevent crashing when a successor is unknown locally (issue3680) The `%ln` revset substitution does not accept unknown node. We prune unknown node from potential successors before computing descendants. This have no impact on the result of this function. - Descendants of unknown changeset as unknown, - all successors of unknown changesets are already return by the call who returned those same unknown changesets, - unknown changesets are never a valid destination for a bookmark.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Thu, 25 Oct 2012 23:43:52 +0200
parents d044a762f47f
children 7d2dd10ce9ea
line wrap: on
line diff
--- a/tests/test-bookmarks-pushpull.t	Thu Oct 25 23:36:03 2012 +0200
+++ b/tests/test-bookmarks-pushpull.t	Thu Oct 25 23:43:52 2012 +0200
@@ -262,7 +262,8 @@
   4efff6d98829d9c824c621afd6e3f01865f5439f
   $ hg id --debug -r 5
   c922c0139ca03858f655e4a2af4dd02796a63969 tip Y
-  $ hg debugobsolete f6fc62dde3c0771e29704af56ba4d8af77abcc2f 4efff6d98829d9c824c621afd6e3f01865f5439f
+  $ hg debugobsolete f6fc62dde3c0771e29704af56ba4d8af77abcc2f cccccccccccccccccccccccccccccccccccccccc
+  $ hg debugobsolete cccccccccccccccccccccccccccccccccccccccc 4efff6d98829d9c824c621afd6e3f01865f5439f
   $ hg push http://localhost:$HGPORT2/
   pushing to http://localhost:$HGPORT2/
   searching for changes