Skip to content

Instantly share code, notes, and snippets.

@defunkt
Created April 30, 2009 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save defunkt/104521 to your computer and use it in GitHub Desktop.
Save defunkt/104521 to your computer and use it in GitHub Desktop.
→ hg clone https://defunkt@bitbucket.org/defunkt/pygments-main/
→ cd pygments-main
→ hg gremote add origin git@github.com:defunkt/pygments.git
→ hg gpush
pushing to : origin
exporting git objects
converting revision 0
converting revision 1
...
converting revision 822
converting revision 823
converting revision 824
converting revision 825
converting revision 826
converting revision 827
converting revision 828
creating and sending data
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial@selenic.com
** Mercurial Distributed SCM (version 1.2.1)
** Extensions loaded: hg-git
Traceback (most recent call last):
File "/usr/local/bin/hg", line 5, in <module>
pkg_resources.run_script('mercurial==unknown', 'hg')
File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 442, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 1160, in run_script
execfile(script_filename, namespace, namespace)
File "/Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg/EGG-INFO/scripts/hg", line 27, in <module>
mercurial.dispatch.run()
File "/Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg/mercurial/dispatch.py", line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File "/Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg/mercurial/dispatch.py", line 25, in dispatch
return _runcatch(u, args)
File "/Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg/mercurial/dispatch.py", line 41, in _runcatch
return _dispatch(ui, args)
File "/Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg/mercurial/dispatch.py", line 372, in _dispatch
return runcommand(lui, repo, cmd, fullargs, ui, options, d)
File "/Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg/mercurial/dispatch.py", line 247, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg/mercurial/dispatch.py", line 417, in _runcommand
return checkargs()
File "/Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg/mercurial/dispatch.py", line 377, in checkargs
return cmdfunc()
File "/Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg/mercurial/dispatch.py", line 371, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/Library/Python/2.5/site-packages/mercurial-unknown-py2.5-macosx-10.5-i386.egg/mercurial/util.py", line 718, in check
return func(*args, **kwargs)
File "/Library/Python/2.5/site-packages/hg-git/__init__.py", line 53, in gpush
git.push(remote_name)
File "/Library/Python/2.5/site-packages/hg-git/git_handler.py", line 125, in push
self.upload_pack(remote_name)
File "/Library/Python/2.5/site-packages/hg-git/git_handler.py", line 305, in upload_pack
changed_refs = client.send_pack(path, changed, genpack)
File "/Library/Python/2.5/site-packages/hg-git/dulwich/client.py", line 316, in send_pack
return client.send_pack(path, changed_refs, generate_pack_contents)
File "/Library/Python/2.5/site-packages/hg-git/dulwich/client.py", line 135, in send_pack
shas = generate_pack_contents(want, have)
File "/Library/Python/2.5/site-packages/hg-git/git_handler.py", line 346, in generate_pack_contents
next = graph_walker.next()
File "/Library/Python/2.5/site-packages/hg-git/dulwich/client.py", line 62, in next
ps = self.get_parents(ret)
File "/Library/Python/2.5/site-packages/hg-git/dulwich/repo.py", line 322, in get_parents
return self.commit(sha).parents
File "/Library/Python/2.5/site-packages/hg-git/dulwich/repo.py", line 325, in commit
return self._get_object(sha, Commit)
File "/Library/Python/2.5/site-packages/hg-git/dulwich/repo.py", line 306, in _get_object
ret = self.get_object(sha)
File "/Library/Python/2.5/site-packages/hg-git/dulwich/repo.py", line 319, in get_object
return self.object_store[sha]
File "/Library/Python/2.5/site-packages/hg-git/dulwich/object_store.py", line 140, in __getitem__
type, uncomp = self.get_raw(sha)
File "/Library/Python/2.5/site-packages/hg-git/dulwich/object_store.py", line 134, in get_raw
ret = self._get_shafile(hexsha)
File "/Library/Python/2.5/site-packages/hg-git/dulwich/object_store.py", line 99, in _get_shafile
return ShaFile.from_file(path)
File "/Library/Python/2.5/site-packages/dulwich/objects.py", line 149, in from_file
File "/Library/Python/2.5/site-packages/dulwich/objects.py", line 473, in _parse_text
ValueError: invalid literal for int() with base 10: '--200'
@raksme
Copy link

raksme commented May 22, 2022

G

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment