Daily Archives: 2013-02-07

In which Hg repo is the hook getting executed?

REPOPATH=$(hg showconfig|sed -n ‘s/^bundle\.mainreporoot=//p’) Based on this, btw, I came up with the following hook in the hgrc file: [hooks] changegroup.bundlerepo = hg bundle -a $(hg showconfig|sed -n ‘s/^bundle\.mainreporoot=//p’)/.hg/bundled.hg The idea is to create a bundle with all revisions whenever … Continue reading

Posted in EN, VCS | Tagged | Leave a comment

Mercurial woes

Today I stumbled over an awkward issue. Pulling from a repo mounted read-only I always got: searching for changes adding changesets transaction abort! rollback completed abort: index [filename] is corrupted! where the filename would differ. First I tried downgrading my … Continue reading

Posted in EN, VCS | Tagged | Leave a comment