Question on "hg strip"

Harvey Chapman hchapman-hg at 3gfp.com
Mon Dec 1 14:18:11 UTC 2014


> On Nov 30, 2014, at 11:43 PM, Pandu Poluan <pepoluan at gmail.com> wrote:
> 
> I've just cloned an SVN repo from SourceForge. Let's say, I received
> the whole repo until Rev #345.
> 
> Then, just for experimentation, I do an "hg strip" on Rev #340
> 
> Afterwards, I tried pulling SF, it does not pull the revisions after
> the 'strip point'. That is, Revs #341 up to #345 didn't reappear.

Did you use the hgsubversion extension to clone? You may only need to tell it to rebuild it’s metadata.

From http://mercurial.selenic.com/wiki/HgSubversion

    hg svn rebuildmeta




More information about the Mercurial mailing list