##// END OF EJS Templates
tests: use regular expression instead of sed in test-subrepo-deep-nested-change
Nicolas Dumazet -
r12107:497c7876 default
parent child Browse files
Show More
@@ -11,7 +11,7 b" Preparing the 'sub1' repo which depends "
11 11 $ hg init sub1
12 12 $ echo sub1 > sub1/sub1
13 13 $ echo "sub2 = ../sub2" > sub1/.hgsub
14 $ hg clone sub2 sub1/sub2 | sed 's/ .*sub/ ...sub/g'
14 $ hg clone sub2 sub1/sub2
15 15 updating to branch default
16 16 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
17 17 $ hg add -R sub1
@@ -25,9 +25,9 b" Preparing the 'main' repo which depends "
25 25 $ hg init main
26 26 $ echo main > main/main
27 27 $ echo "sub1 = ../sub1" > main/.hgsub
28 $ hg clone sub1 main/sub1 | sed 's/ .*sub/ ...sub/g'
28 $ hg clone sub1 main/sub1
29 29 updating to branch default
30 pulling ...sub2
30 pulling subrepo sub2 from .*/sub2
31 31 requesting all changes
32 32 adding changesets
33 33 adding manifests
@@ -53,15 +53,15 b' Cleaning both repositories, just as a cl'
53 53
54 54 Clone main
55 55
56 $ hg clone main cloned | sed 's/ .*sub/ ...sub/g'
56 $ hg clone main cloned
57 57 updating to branch default
58 pulling ...sub1
58 pulling subrepo sub1 from .*/sub1
59 59 requesting all changes
60 60 adding changesets
61 61 adding manifests
62 62 adding file changes
63 63 added 1 changesets with 3 changes to 3 files
64 pulling ...sub2
64 pulling subrepo sub1/sub2 from .*/sub2
65 65 requesting all changes
66 66 adding changesets
67 67 adding manifests
General Comments 0
You need to be logged in to leave comments. Login now