Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 4
    For sure you are taking the wrong approach. If the admin put a limit for the size of files you have in the repository, then you should talk with him. Talking about expansion - I have always saw that the expansion is alphanumerical. Commented Mar 15, 2010 at 19:58
  • 1
    You can always pipe through sort if you need any additional order manipulation.
    – Warner
    Commented Mar 15, 2010 at 20:45
  • 2
    Please note that Mercurial can manage files of any size, limited by the amount of RAM you have. You get a warning if you add a big file, since Mercurial assumes that it can hold the file in memory. For merges, Mercurial needs to hold two files in memory. Machines with small amounts of RAM may therefore have trouble checking out the file. I just tested it, and hg commit on a N MB file requires about 3 * N MB of RAM and hg update requires about 2 * N MB of RAM. This is with Mercurial 1.5 on Linux. Commented Mar 16, 2010 at 9:16
  • 1
    @Warner sort sorts lines, globbing does not return lines thus sort does not work as is.
    – stefanct
    Commented Feb 6, 2021 at 17:04