Monday, July 23, 2012

Deleting Mercurial revisions

A Mercurial repository I use for my research group got several large movies added to it, so that several machines could no longer pull. I removed them; my notes on the process:

  1. hg convert --config convert.hg.saverev=False robotics_research_big robotics_research --filemap no_ogv, where no_ogv follows this format, per ideas here.
  2. In Bitbucket, strip to revision 0 to empty out the repository (the strip trick).

No comments:

Post a Comment