changeset 14211:b00ab6890fe9 stable

transplant: fix revset doc
author Idan Kamara <idankk86@gmail.com>
date Fri, 06 May 2011 15:37:38 +0300
parents 7b627923739f
children e456084a3ecc 89e7d35e0ef0
files hgext/transplant.py tests/test-transplant.t
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/transplant.py	Thu May 05 16:01:09 2011 +0200
+++ b/hgext/transplant.py	Fri May 06 15:37:38 2011 +0300
@@ -594,8 +594,8 @@
             os.unlink(bundle)
 
 def revsettransplanted(repo, subset, x):
-    """``transplanted(set)``
-    Transplanted changesets in set.
+    """``transplanted([set])``
+    Transplanted changesets in set, or all transplanted changesets.
     """
     if x:
       s = revset.getset(repo, subset, x)
--- a/tests/test-transplant.t	Thu May 05 16:01:09 2011 +0200
+++ b/tests/test-transplant.t	Fri May 06 15:37:38 2011 +0300
@@ -66,7 +66,8 @@
   6  b2
   7  b3
   $ hg help revsets | grep transplanted
-      "transplanted(set)"
+      "transplanted([set])"
+        Transplanted changesets in set, or all transplanted changesets.
 
   $ hg clone ../t ../prune
   updating to branch default