Mercurial > hg
comparison tests/test-subrepo-git.t @ 17108:1894dac619de
subrepo: propagate matcher to subrepos when archiving
Add a match object to subrepo.archive(). This will allow the -X and -I
options to be honored inside subrepos when archiving. They formerly
only affect the top level repo.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 16 Jun 2012 22:34:06 -0400 |
parents | 8a38839ae1dc |
children | ca75bd99f740 |
comparison
equal
deleted
inserted
replaced
17107:dcac72c9efb2 | 17108:1894dac619de |
---|---|
268 $ cat s/g | 268 $ cat s/g |
269 g | 269 g |
270 gg | 270 gg |
271 ggg | 271 ggg |
272 | 272 |
273 $ hg -R ../tc archive --subrepo -r 5 -X ../tc/**f ../archive_x 2>/dev/null | |
274 $ find ../archive_x | sort | |
275 ../archive_x | |
276 ../archive_x/.hg_archival.txt | |
277 ../archive_x/.hgsub | |
278 ../archive_x/.hgsubstate | |
279 ../archive_x/a | |
280 ../archive_x/s | |
281 ../archive_x/s/g | |
282 | |
273 create nested repo | 283 create nested repo |
274 | 284 |
275 $ cd .. | 285 $ cd .. |
276 $ hg init outer | 286 $ hg init outer |
277 $ cd outer | 287 $ cd outer |