Issue #1795 resolved

ssh push fails (BB-1310)

Lindsay Mathieson
created an issue

I now get the following:

{{{

!bash

hg push running ssh hg@bitbucket.org "hg -R blackpaw/konfigsync/ serve --stdio" pushing to ssh://hg@bitbucket.org/blackpaw/konfigsync/ searching for changes 1 changesets found remote: abort: journal already exists - run hg recover! abort: unexpected response: empty string

}}}

I've run hg recover locally but that has no effect

Comments (12)

  1. David Roguin

    Hi,

    I'm having a problem when trying to push over ssh, I have no problems with other commands like outgoing with ssh. Also if I push over https I have no problem either.

    running ""C:\Program Files\TortoiseHg\TortoisePlink.exe" -ssh -2 -batch -C hg@bitbucket.org "hg -R nesdavid/moops/ serve --stdio""
    pushing to ssh://hg@bitbucket.org/nesdavid/moops/
    searching for changes
    1 changesets found
    remote: abort: could not lock repository nesdavid/moops/: Permission denied
    ('unexpected response:', '')
    [command interrupted]
    

    Any ideas?

  2. Christian Theune

    I'm also having a similar problem, but only with a single repository (asm.workflow). Other repositories (asm.translation, assembly-cms) work:

    ctheune@nelson:~/Development/assembly.workflow$ hg fetch
    pulling from ssh://bitbucket.org/ctheune/asm.workflow
    searching for changes
    no changes found
    ctheune@nelson:~/Development/assembly.workflow$ hg push
    pushing to ssh://bitbucket.org/ctheune/asm.workflow
    searching for changes
    remote: abort: could not lock repository ctheune/asm.workflow: Permission denied
    abort: unexpected response: empty string
    

    Here's my config:

    [paths]
    default = ssh://bitbucket.org/ctheune/asm.workflow
    default-push = ssh://bitbucket.org/ctheune/asm.workflow
    
    [ui]
    ssh = ssh -C
    
  3. Renato Pedigoni

    the same here

    pushing to ssh://hg@bitbucket.org/wqti/csprinter
    searching for changes
    remote: abort: could not lock repository /import/repos/data/wqti/csprinter: Permission denied
    abort: unexpected response: empty string
    
  4. Posmagroup C.A.

    Same error here, this time pushing via ssh to a private repository.

    remote: abort: could not lock repository /import/repos/data/PosmaGroup/repo: Permission denied
    abort: unexpected response: empty string
    
  5. Dylan Etkin

    Sorry everyone. We messed up new repo creation in our last deployment.

    The error should not have affected pushes over http and https.

    We have deployed a fix for new repositories and have just run a script to fix up the repos that were affected.

    So you should be able to push over ssh now as well.

    We are really sorry for the trouble and appreciate your understanding.

    Cheers,

    Dylan

  6. Log in to comment