Mercurial > hg
comparison tests/test-largefiles-misc.t @ 23886:5ce8dcd05dc4
largefiles: enable subrepo support for add
The --large, --normal and --lfsize args couldn't be passed to a subrepo before,
and files in the subrepos would be added silently (if -v wasn't specified) as
normal files. As an added bonus, 'hg add --dry-run' no longer prints that
largefiles would also be added as normal files as well.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 12 Jan 2015 21:44:43 -0500 |
parents | 304e69cb1ee9 |
children | f2b6f37d537b |
comparison
equal
deleted
inserted
replaced
23885:9994f45ba714 | 23886:5ce8dcd05dc4 |
---|---|
212 $ hg ci -m "add subrepo" | 212 $ hg ci -m "add subrepo" |
213 Invoking status precommit hook | 213 Invoking status precommit hook |
214 A .hgsub | 214 A .hgsub |
215 ? .hgsubstate | 215 ? .hgsubstate |
216 $ echo "rev 1" > subrepo/large.txt | 216 $ echo "rev 1" > subrepo/large.txt |
217 $ hg -R subrepo add --large subrepo/large.txt | 217 $ hg add --large subrepo/large.txt |
218 $ hg sum | 218 $ hg sum |
219 parent: 1:8ee150ea2e9c tip | 219 parent: 1:8ee150ea2e9c tip |
220 add subrepo | 220 add subrepo |
221 branch: default | 221 branch: default |
222 commit: 1 subrepos | 222 commit: 1 subrepos |