diff tests/test-subrepo-deep-nested-change.t @ 12107:497c78760b37

tests: use regular expression instead of sed in test-subrepo-deep-nested-change
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 30 Aug 2010 13:37:12 +0900
parents 628cdd158ec0
children 92e30e135581
line wrap: on
line diff
--- a/tests/test-subrepo-deep-nested-change.t	Mon Aug 30 13:32:37 2010 +0900
+++ b/tests/test-subrepo-deep-nested-change.t	Mon Aug 30 13:37:12 2010 +0900
@@ -11,7 +11,7 @@
   $ hg init sub1
   $ echo sub1 > sub1/sub1
   $ echo "sub2 = ../sub2" > sub1/.hgsub
-  $ hg clone sub2 sub1/sub2 | sed 's/ .*sub/ ...sub/g'
+  $ hg clone sub2 sub1/sub2
   updating to branch default
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg add -R sub1
@@ -25,9 +25,9 @@
   $ hg init main
   $ echo main > main/main
   $ echo "sub1 = ../sub1" > main/.hgsub
-  $ hg clone sub1 main/sub1  | sed 's/ .*sub/ ...sub/g'
+  $ hg clone sub1 main/sub1
   updating to branch default
-  pulling ...sub2
+  pulling subrepo sub2 from .*/sub2
   requesting all changes
   adding changesets
   adding manifests
@@ -53,15 +53,15 @@
 
 Clone main
 
-  $ hg clone main cloned | sed 's/ .*sub/ ...sub/g' 
+  $ hg clone main cloned
   updating to branch default
-  pulling ...sub1
+  pulling subrepo sub1 from .*/sub1
   requesting all changes
   adding changesets
   adding manifests
   adding file changes
   added 1 changesets with 3 changes to 3 files
-  pulling ...sub2
+  pulling subrepo sub1/sub2 from .*/sub2
   requesting all changes
   adding changesets
   adding manifests