changeset 12811:0e284735e65b stable

test-transplant: test transplanted() revset
author Patrick Mezard <pmezard@gmail.com>
date Fri, 22 Oct 2010 22:58:17 +0200
parents a68ccfd9c7be
children 4d431a31a76e
files tests/test-transplant.t
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-transplant.t	Fri Oct 22 11:58:43 2010 -0500
+++ b/tests/test-transplant.t	Fri Oct 22 22:58:17 2010 +0200
@@ -59,6 +59,15 @@
   1  r2
   0  r1
 
+test transplanted revset
+
+  $ hg log -r 'transplanted()' --template '{rev} {parents} {desc}\n'
+  5 1:d11e3596cc1a  b1
+  6  b2
+  7  b3
+  $ hg help revsets | grep transplanted
+      "transplanted(set)"
+
   $ hg clone ../t ../prune
   updating to branch default
   4 files updated, 0 files merged, 0 files removed, 0 files unresolved