contrib/shrink-revlog.py
changeset 14028 7e453770b364
parent 13783 c196352d935b
child 14029 83d3f87c059e
equal deleted inserted replaced
14024:92b768e9f80c 14028:7e453770b364
     1 """\
     1 """reorder a revlog (the manifest by default) to save space
     2 reorder a revlog (the manifest by default) to save space
       
     3 
     2 
     4 Specifically, this topologically sorts the revisions in the revlog so that
     3 Specifically, this topologically sorts the revisions in the revlog so that
     5 revisions on the same branch are adjacent as much as possible. This is a
     4 revisions on the same branch are adjacent as much as possible. This is a
     6 workaround for the fact that Mercurial computes deltas relative to the
     5 workaround for the fact that Mercurial computes deltas relative to the
     7 previous revision rather than relative to a parent revision.
     6 previous revision rather than relative to a parent revision.