--- a/tests/test-convert.t Wed Jun 20 12:30:16 2012 -0500
+++ b/tests/test-convert.t Sun May 13 01:12:26 2012 -0400
@@ -396,3 +396,52 @@
$ hg convert -q bzr+ssh://foobar@selenic.com/baz baz
abort: bzr+ssh://foobar@selenic.com/baz: missing or unsupported repository
[255]
+
+test revset converted() lookup
+
+ $ hg --config convert.hg.saverev=True convert a c
+ initializing destination c repository
+ scanning source...
+ sorting...
+ converting...
+ 4 a
+ 3 b
+ 2 c
+ 1 d
+ 0 e
+ $ echo f > c/f
+ $ hg -R c ci -d'0 0' -Amf
+ adding f
+ created new head
+ $ hg -R c log -r "converted(09d945a62ce6)"
+ changeset: 1:98c3dd46a874
+ user: test
+ date: Thu Jan 01 00:00:01 1970 +0000
+ summary: b
+
+ $ hg -R c log -r "converted()"
+ changeset: 0:31ed57b2037c
+ user: test
+ date: Thu Jan 01 00:00:00 1970 +0000
+ summary: a
+
+ changeset: 1:98c3dd46a874
+ user: test
+ date: Thu Jan 01 00:00:01 1970 +0000
+ summary: b
+
+ changeset: 2:3b9ca06ef716
+ user: test
+ date: Thu Jan 01 00:00:02 1970 +0000
+ summary: c
+
+ changeset: 3:4e0debd37cf2
+ user: test
+ date: Thu Jan 01 00:00:03 1970 +0000
+ summary: d
+
+ changeset: 4:9de3bc9349c5
+ user: test
+ date: Thu Jan 01 00:00:04 1970 +0000
+ summary: e
+