Setting up a central repository

Imbeault, Jean-Christian jeanchristian.imbeault at lehman.com
Tue Aug 21 08:33:32 CDT 2007


I'm having some difficulty setting up a shared repository and hoping
someone can help answer the following questions:

I'm trying to set the shared repo up using a group account on a shared
server.

1- When I ssh to the hg repo how does the remote hg know where the repo
is located?

2- When I try to get a copy of the repository I get an error about not
finding the repo:

	[agpmdev at tklxecdev001 ~/hgrepository]$ ssh -l aseqdsu
tklxecdev001 hg pull OES
	aseqdsu at tklxecdev001's password: 
	abort: There is no Mercurial repository here (.hg not found)!

The repo exists though:

	[aseqdsu at tklxecdev001 ~/hgproj/repository]$ ls -a
	.  ..  OES

3- Do I need to create a .ssh/authorized_keys file? I have created one
which uses hg-login but strangely the one user I added to the file
always gets 'Invalid command' whereas a user not in the authorized_keys
file can run hg commands

Thanks,

Jc
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.






More information about the Mercurial mailing list