cleaning out a Mercurial Repository

前端 未结 1 1936
孤独总比滥情好
孤独总比滥情好 2021-01-11 13:38

There are a bunch of file in the history of my hg repo that have been removed. They are causing the repo to get pretty big (several of them are images, and sql dumps from ea

相关标签:
1条回答
  • 2021-01-11 14:04

    See:

    $ hg convert --help
    

    ...

    $ hg convert --filemap fmap old new
    

    where file fmap contains something like:

    exclude path/to/file/to/purge
    

    (src: https://www.mercurial-scm.org/pipermail/mercurial/2008-August/020721.html)

    0 讨论(0)
提交回复
热议问题