Show More
@@ -29,7 +29,7 b" bandwidth, since you don't need to retri" | |||||
29 | of large files when you clone or pull. |
|
29 | of large files when you clone or pull. | |
30 |
|
30 | |||
31 | To start a new repository or add new large binary files, just add |
|
31 | To start a new repository or add new large binary files, just add | |
32 |
--large to your |
|
32 | --large to your :hg:`add` command. For example:: | |
33 |
|
33 | |||
34 | $ dd if=/dev/urandom of=randomdata count=2000 |
|
34 | $ dd if=/dev/urandom of=randomdata count=2000 | |
35 | $ hg add --large randomdata |
|
35 | $ hg add --large randomdata | |
@@ -49,8 +49,8 b' not previously updated to.' | |||||
49 |
|
49 | |||
50 | If you already have large files tracked by Mercurial without the |
|
50 | If you already have large files tracked by Mercurial without the | |
51 | largefiles extension, you will need to convert your repository in |
|
51 | largefiles extension, you will need to convert your repository in | |
52 |
order to benefit from largefiles. This is done with the |
|
52 | order to benefit from largefiles. This is done with the | |
53 | command:: |
|
53 | :hg:`lfconvert` command:: | |
54 |
|
54 | |||
55 | $ hg lfconvert --size 10 oldrepo newrepo |
|
55 | $ hg lfconvert --size 10 oldrepo newrepo | |
56 |
|
56 | |||
@@ -66,7 +66,7 b' to the minimum size in megabytes to trac' | |||||
66 | $ hg add --lfsize 2 |
|
66 | $ hg add --lfsize 2 | |
67 |
|
67 | |||
68 | The ``largefiles.patterns`` config option allows you to specify a list |
|
68 | The ``largefiles.patterns`` config option allows you to specify a list | |
69 |
of filename patterns (see |
|
69 | of filename patterns (see :hg:`help patterns`) that should always be | |
70 | tracked as largefiles:: |
|
70 | tracked as largefiles:: | |
71 |
|
71 | |||
72 | [largefiles] |
|
72 | [largefiles] |
General Comments 0
You need to be logged in to leave comments.
Login now