hg-git broken on hg2.8?
Neal Becker
ndbecker2 at gmail.com
Wed Dec 4 12:32:38 UTC 2013
A little better, but seems to only have gotten default branch:
nbecker at nbecker1 ndarray.git$ git branch -a
* (detached from origin/#31)
master
remotes/origin/#22
remotes/origin/#31
remotes/origin/HEAD -> origin/master
remotes/origin/master
nbecker at nbecker1 ~$ hg clone ndarray.git ndarray.hg
importing git objects into hg
updating to branch default
cloning subrepo Boost.NumPy from git://github.com/ndarray/Boost.NumPy.git
remote: Counting objects: 970, done.
remote: Compressing objects: 100% (531/531), done.
remote: Total 970 (delta 312), reused 951 (delta 302)
Receiving objects: 100% (970/970), 222.56 KiB | 0 bytes/s, done.
Resolving deltas: 100% (312/312), done.
85 files updated, 0 files merged, 0 files removed, 0 files unresolved
nbecker at nbecker1 ~$ cd ndarray.hg
nbecker at nbecker1 ndarray.hg$ hg branches
default 139:657c4b861985
nbecker at nbecker1 ndarray.hg$ hg bookmarks
* master 139:657c4b861985
On Tue, Dec 3, 2013 at 3:44 PM, Pascal Quantin <pascal.quantin at free.fr>wrote:
> Le 03/12/2013 21:25, Neal Becker a écrit :
>
> I have:
>
> hg-git-0.4.0 (latest via easy_install)
>
> It claims:
>
> __init__.py:45:testedwith = '1.9.3 2.0.2 2.1.2 2.2.3 2.3.1'
>
> Then you need to upgrade to hg-git tip as fixes were done afterwards (like
> bf8518b09d57: overlays: fix incoming support for hg 2.8) and no tagged
> version has been released yet.
>
> Pascal.
>
>
>
>
>
> On Tue, Dec 3, 2013 at 3:16 PM, Pascal Quantin <pascal.quantin at free.fr>wrote:
>
>> Le 3 déc. 2013 à 17:54, Neal Becker <ndbecker2 at gmail.com> a écrit :
>>
>> I've tried to post this via gmane, but perhaps it stopped working?
>>
>> hg clone ndarray.git ndarray.hg
>> ** Unknown exception encountered with possibly-broken third-party
>> extension hggit
>> ** which supports versions 2.3.1 of Mercurial.
>> ** Please disable hggit and try your action again.
>> ** If that fixes the bug please report it to
>> https://bitbucket.org/durin42/hg-git/issues
>> ** Python 2.7.5 (default, Nov 12 2013, 16:18:42) [GCC 4.8.2 20131017 (Red
>> Hat 4.8.2-1)]
>> ** Mercurial Distributed SCM (version 2.8)
>> ** Extensions loaded: hgk, rebase, convert, hggit
>> Traceback (most recent call last):
>> File "/usr/bin/hg", line 38, in <module>
>> mercurial.dispatch.run()
>> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
>> 28, in run
>> sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
>> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
>> 69, in dispatch
>> ret = _runcatch(req)
>> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
>> 133, in _runcatch
>> return _dispatch(req)
>> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
>> 806, in _dispatch
>> cmdpats, cmdoptions)
>> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
>> 585, in runcommand
>> ret = _runcommand(ui, options, cmd, d)
>> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
>> 897, in _runcommand
>> return checkargs()
>> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
>> 868, in checkargs
>> return cmdfunc()
>> File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
>> 803, in <lambda>
>> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
>> File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 512,
>> in check
>> return func(*args, **kwargs)
>> File "/usr/lib64/python2.7/site-packages/mercurial/commands.py", line
>> 1282, in clone
>> branch=opts.get('branch'))
>> File "/usr/lib64/python2.7/site-packages/mercurial/hg.py", line 372, in
>> clone
>> destpeer.local().clone(srcpeer, heads=revs, stream=stream)
>> File "/usr/lib64/python2.7/site-packages/mercurial/localrepo.py", line
>> 2431, in clone
>> return self.pull(remote, heads)
>> File "/usr/lib/python2.7/site-packages/hggit/hgrepo.py", line 14, in
>> pull
>> return git.fetch(remote.path, heads)
>> File "/usr/lib/python2.7/site-packages/hggit/git_handler.py", line 204,
>> in fetch
>> refs = self.fetch_pack(remote, heads)
>> File "/usr/lib/python2.7/site-packages/hggit/git_handler.py", line
>> 1037, in fetch_pack
>> f, commit = self.git.object_store.add_pack()
>> ValueError: too many values to unpack
>>
>>
>> Hi,
>>
>> I can run hg-git without any problem with hg 2.8.1. Did you try to
>> update your hg-git version to the latest version?
>>
>> Best regards,
>> Pascal.
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20131204/166d275a/attachment-0002.html>
More information about the Mercurial
mailing list