Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1062459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:37:47+00:00 2026-05-16T18:37:47+00:00

I am trying to learn to use mercurial by pushing onto Google code. I

  • 0

I am trying to learn to use mercurial by pushing onto Google code.

I have two .hgrc files: One file is located $PROJECT_DIR/.hg/.hrgc and $HOME/.hgrc. I have two separate files because I did not want to put the password out on the central repository.

Here is the content of $PROJECT_DIR/.hg/.hrgc:

[ui]
usermane=Venkat S. Rao <vrao423@gmail.com>
verbose=true

[paths]
default-push =https:vrao423:gc4yy3vB3mc4@//personal-site423.googlecode.com/hg/us

Here is the content of $HOME/.hgrc:

[ui]
username= Venkat Rao <vrao423@gmail.com>
verbose=True

[auth]
project.prefix=https://personal-site423.googlecode.com/hg/
password=###
username=vrao423

For username I have my Gmail id.

I can commit changes to my local repository, but when I try hg push I get this error.

** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial@selenic.com
** Mercurial Distributed SCM (version 1.4.3)
** Extensions loaded: 
Traceback (most recent call last):
  File "/usr/bin/hg", line 27, in 
    mercurial.dispatch.run()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 30, in dispatch
    return _runcatch(u, args)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 46, in _runcatch
    return _dispatch(ui, args)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 454, in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 324, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 505, in _runcommand
    return checkargs()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 459, in checkargs
    return cmdfunc()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 453, in 
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 386, in check
    return func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/mercurial/commands.py", line 2345, in push
    other = hg.repository(cmdutil.remoteui(repo, opts), dest)
  File "/usr/lib/pymodules/python2.6/mercurial/hg.py", line 63, in repository
    repo = _lookup(path).instance(ui, path, create)
  File "/usr/lib/pymodules/python2.6/mercurial/httprepo.py", line 263, in instance
    inst.between([(nullid, nullid)])
  File "/usr/lib/pymodules/python2.6/mercurial/httprepo.py", line 184, in between
    d = self.do_read("between", pairs=n)
  File "/usr/lib/pymodules/python2.6/mercurial/httprepo.py", line 128, in do_read
    fp = self.do_cmd(cmd, **args)
  File "/usr/lib/pymodules/python2.6/mercurial/httprepo.py", line 80, in do_cmd
    resp = self.urlopener.open(urllib2.Request(cu, data, headers))
  File "/usr/lib/python2.6/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib/python2.6/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/pymodules/python2.6/mercurial/url.py", line 455, in https_open
    self.auth = self.pwmgr.readauthtoken(req.get_full_url())
  File "/usr/lib/pymodules/python2.6/mercurial/url.py", line 141, in readauthtoken
    group, setting = key.split('.', 1)
ValueError: need more than 1 value to unpack

Please help me. I have tried reading the hgrc man but that is just gibberish.

Thank You
Venkat

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:37:48+00:00Added an answer on May 16, 2026 at 6:37 pm

    I’m a Mercurial developer. Please report problems with our man page on the mailinglist or on our bugtracker. I would love to hear from you so that we can make the man page better, so please write to us and tell us which part you found to be “gibberish”.

    In this particular case, the problem is that you need to write your auth section like this:

    [auth]
    project.prefix=https://personal-site423.googlecode.com/hg/
    project.password=###
    project.username=vrao423
    

    where I would replace project with googlecode or something similar. We should of course report something sensible instead of a traceback and I can see that we already fixed this particular bug in Mercurial 1.5.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to learn to use only the keyboard with some applications, one of
Trying to learn Regex in Python to find words that have consecutive vowel-consonant or
Trying to learn ASP MVC coming from Linux/LAMP background (in other words I'm a
I am searching and trying to learn Alchemy API. However, I am not able
trying to learn windows programming in java, want to display a image to a
I'm trying to learn the basics of RichFaces with basic tutorials over the internet.
I am trying to learn and build talking puppet iPhone application. The great example
I'm trying to get an Apache server running on my Cygwin setup to follow
I am working on a small Tower Defense game in order to learn Qt.
I'm new to RoR/Gems, this is a basic question. I created a gem, MyNameGem,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.