schacon / hg-git

mercurial to git bridge, pushed to directly from the hg-git plugin in Hg
GNU General Public License v2.0
620 stars 72 forks source link

Unable to pull after a strip: 'please run hg git-cleanup' #299

Open elifarley opened 9 years ago

elifarley commented 9 years ago
% hg pull --verbose --force git+https://github.com/elifarley/orgecc-libcalltimer.git
pulling from git+https://github.com/elifarley/orgecc-libcalltimer.git
importing git objects into hg
abort: you appear to have run strip - please run hg git-cleanup

% hg git-cleanup
git commit map cleaned
[command completed successfully Thu Apr 30 19:30:56 2015]
% hg pull --verbose --force git+https://github.com/elifarley/orgecc-libcalltimer.git
pulling from git+https://github.com/elifarley/orgecc-libcalltimer.git
importing git objects into hg
abort: you appear to have run strip - please run hg git-cleanup
ivanovs-4 commented 8 years ago

I get same error for hg clone (git repo).

$hg clone /path/to/any/git/repo importing git objects into hg abort: you appear to have run strip - please run hg git-cleanup

I found that this bug occurs when in hgrc: [phases] new-commit = secret

When i remove this setting, everything is ok.