mainSavannah Administration - Support: sr #109351, cannot push new Mercurial repos

 
 

sr #109351: cannot push new Mercurial repos

Submitter:  Marco van Hulten <hulten>
Submitted:  Fri 14 Jul 2017 01:04:47 PM UTC
   
 
Category:  Source code repositories - developer access Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  rwp
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 15 Jul 2017 05:35:50 AM UTC, comment #3: 

Great to hear that it is all working now.  Yes this is apparently a bug in the repository creation process.  And apparently one that has been there since the server movement in January.  Mercurial isn't very active these days.  Yours is the first new hg repository created since May 2016.  We moved the server in a large migration upgrade this last January and are still fixing bugs as we find them.

Thank you for reporting this problem.  Will get it fixed.

Bob Proulx <rwp>
Site Administrator
Fri 14 Jul 2017 09:09:47 PM UTC, comment #2: 

That looks fine, Bob, thanks!

Moreover, it could push the repository, so it is working.

It would indeed be better if this worked automatically.

Marco van Hulten <hulten>
Fri 14 Jul 2017 06:52:12 PM UTC, comment #1: 

Hm...  Looking into this. Not sure why this did not set up automatically. I am not an hg person and have not set one up manually before. Learning as I go...

I see you have enabled the repository in the admin interface.  Good.  But looking at the back end it does not look like a repository was created.  This is definitely a problem.  I will try creating it manually.  We can figure out why the automatic creation didn't work afterward.

mkdir /srv/hg/complot
cd /srv/hg/complot
hg init
find . -exec chgrp complot {} +
find . -type d chmod g+ws {} +

I think that should set you up okay.  Please try uploading again and see if that is working.  Or if you think I should have done something different than this initialization please let me know that too.



Bob Proulx <rwp>
Site Administrator
Fri 14 Jul 2017 01:04:47 PM UTC, original submission:  

First, I enabled Mercurial in the administrative interface of my approved project (complot).  I also added ssh public keys from my systems, with the result I can ssh to hg.sv.gnu.org

Then I followed https://savannah.gnu.org/maintenance/UsingHg/ and from my own machine in the repository I want to upload, I entered:

$ hg push ssh://hulten@hg.sv.nongnu.org/complot/
pushing to ssh://hulten@hg.sv.nongnu.org/complot/
remote: abort: there is no Mercurial repository here (.hg not found)!
abort: no suitable response from remote hg!

Surely, the repository needs to be initialised first, so I tried this:

$ hg clone . ssh://hulten@hg.sv.nongnu.org/complot
You tried to execute: hg init complot
Sorry, you are not allowed to execute that command.
abort: could not create remote repo!

What am I forgetting or doing wrong?

Marco van Hulten <hulten>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rwp (Posted a comment)
  • -email is unavailable- added by hulten (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-15 rwp StatusConfirmed Done
        Open/ClosedOpen Closed
    2017-07-14 rwp StatusNone Confirmed
        Assigned toNone rwp

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code