Turn a non-repository into one

Mina R Waheeb syncer at gmail.com
Sun Jul 26 03:46:18 CDT 2009


If "MY_REPO" is already HG repo all you need to do read the docs and then hg
clone "MY_REPO"

On Sat, Jul 25, 2009 at 9:30 PM, Dj Gilcrease <digitalxero at gmail.com> wrote:

> I have an odd situation. I have an app that has many existing users,
> and I would like to be able to turn their current installs into a
> repository that is based on mine. Currently their installs are raw (no
> .hg directory at all) and I has hoping that "hg init" && "hg pull
> MY_REPO" would just overwrite their existing files, leaving ones that
> are not in the repo alone, but when I do that I get
>
> rollback completed
> Traceback (most recent call last):
>  File "setup.py", line 238, in install
>    self.installer.install()
>  File "/home/digitalxero/Desktop/OpenRPG/LinuxLauncher/base/hg_updater.py",
> line 114, in install
>    self._local.pull(self._remote)
>  File "/usr/local/lib/python2.6/dist-packages/mercurial/localrepo.py",
> line 1466, in pull
>    return self.addchangegroup(cg, 'pull', remote.url())
>  File "/usr/local/lib/python2.6/dist-packages/mercurial/localrepo.py",
> line 2067, in addchangegroup
>    if fl.addgroup(chunkiter, revmap, trp) is None:
>  File "/usr/local/lib/python2.6/dist-packages/mercurial/revlog.py",
> line 1246, in addgroup
>    text = self.revision(chain)
>  File "/usr/local/lib/python2.6/dist-packages/mercurial/revlog.py",
> line 998, in revision
>    bins = [self._chunk(r) for r in xrange(base + 1, rev + 1)]
>  File "/usr/local/lib/python2.6/dist-packages/mercurial/revlog.py",
> line 958, in _chunk
>    return decompress(self._chunkraw(rev, rev))
>  File "/usr/local/lib/python2.6/dist-packages/mercurial/revlog.py",
> line 111, in decompress
>    raise RevlogError(_("unknown compression type %r") % t)
> mercurial.error.RevlogError: unknown compression type 'M'
>
>
> Is there any way to achieve what I want or do I just need to make them
> install a new version that comes with the .hg directory?
>
>
> Dj Gilcrease
> OpenRPG Developer
> ~~http://www.openrpg.com
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090726/f6687f2c/attachment.htm 


More information about the Mercurial mailing list