Mercurial > hg
comparison tests/test-subrepo-svn.t @ 12668:89e35377dbe8
test-subrepo-svn.t: ignore that subversion %-encodes $TESTTMP
Use a glob instead of expecting $TESTTMP.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 09 Oct 2010 15:06:22 -0500 |
parents | 6cc4b14fb76b |
children | 3d6ba8c2b1b8 |
comparison
equal
deleted
inserted
replaced
12667:f5735bb80d77 | 12668:89e35377dbe8 |
---|---|
71 | 71 |
72 debugsub | 72 debugsub |
73 | 73 |
74 $ hg debugsub | 74 $ hg debugsub |
75 path s | 75 path s |
76 source file://$TESTTMP/svn-repo/src | 76 source file://*/svn-repo/src (glob) |
77 revision 2 | 77 revision 2 |
78 | 78 |
79 change file in svn and hg, commit | 79 change file in svn and hg, commit |
80 | 80 |
81 $ echo a >> a | 81 $ echo a >> a |
90 External at revision 1. | 90 External at revision 1. |
91 | 91 |
92 At revision 3. | 92 At revision 3. |
93 $ hg debugsub | 93 $ hg debugsub |
94 path s | 94 path s |
95 source file://$TESTTMP/svn-repo/src | 95 source file://*/svn-repo/src (glob) |
96 revision 3 | 96 revision 3 |
97 | 97 |
98 $ echo a > s/a | 98 $ echo a > s/a |
99 | 99 |
100 should be empty despite change to s/a | 100 should be empty despite change to s/a |
190 | 190 |
191 debugsub in clone | 191 debugsub in clone |
192 | 192 |
193 $ hg debugsub | 193 $ hg debugsub |
194 path s | 194 path s |
195 source file://$TESTTMP/svn-repo/src | 195 source file://*/svn-repo/src (glob) |
196 revision 3 | 196 revision 3 |
197 | 197 |
198 verify subrepo is contained within the repo directory | 198 verify subrepo is contained within the repo directory |
199 | 199 |
200 $ python -c "import os.path; print os.path.exists('s')" | 200 $ python -c "import os.path; print os.path.exists('s')" |