1

I create a local repo with

local-host $ hg init ~/test/

and then in the remote host i do a clone

remote-host $ hg clone ssh://user@local-host/test

without any issues.

When im trying to check if there are outgoing changes in the remote repo im getting this error

remote-host $ cd test
remote-host $ hg --verbose out
comparing with ssh://user@local-host/test
running ssh user@local-host 'hg -R test serve --stdio'
searching for changes
no changes found
remote: abort: no repository found in '/home/user' (.hg not found)!
remote: abort: no repository found in '/home/user' (.hg not found)!

If i commit any change in the remote/local repository and push it im getting the error but the change gets pushed.

Both hosts have the same mercurial version.

Any ideas ?

user2599522
  • 3,005
  • 2
  • 23
  • 40
  • is the repository located in `~/test` on the remote machine? – dimo414 Jul 29 '13 at 14:17
  • Possible duplicate of http://stackoverflow.com/questions/8493733/mercurial-remote-abort-there-is-no-mercurial-repository-here-hg-not-found – Vince Mar 29 '14 at 11:32

1 Answers1

0

You need to let it know which repository - easiest is:

remote-host $ cd ~/test/ 
remote-host $ hg --verbose out
Steve Barnes
  • 27,618
  • 6
  • 63
  • 73
  • I am trying to do "hg --verbose out" in the mercurial repo (i updated the example code with a "cd test" to make it clear). – user2599522 Jul 29 '13 at 11:54
  • What is the output of `ls -al` in your repository? – Steve Barnes Jul 29 '13 at 12:26
  • `total 12 drwxrwxr-x 3 user user 4096 Jun 30 12:45 . drwxrwxr-x 26 user user 4096 Jun 30 12:45 .. drwxrwxr-x 3 user user 4096 Jun 30 12:45 .hg` (how do i do multiline in the replys ? :p) – user2599522 Jul 30 '13 at 11:47