Question on "hg strip"

Harvey Chapman hchapman-hg at 3gfp.com
Tue Dec 2 12:04:39 UTC 2014


On Dec 2, 2014, at 4:11 AM, Pandu Poluan <pepoluan at gmail.com> wrote:
> 
> On Mon, Dec 1, 2014 at 9:18 PM, Harvey Chapman <hchapman-hg at 3gfp.com> wrote:
>>> 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
>> 
>> 
> 
> Yes, I'm using hgsubversion, and I'd like to report that...
> 
> It works! Thanks!

No problem. That caught me too when I first used hgsubversion. And sorry for the “it’s” above. Ugh.

Harvey


More information about the Mercurial mailing list