Tortoise Hg not detecting users created in SCM Manager (Mercurial)

757 views Asked by At

I am a newbie to mercurial and SCM Manager. I installed SCM manger 1.20 for managing Mercurial repositories (OS - Windows 7) . I am using tortoise Hg at the client side .I am able to create users, repositories, groups and can give permissions to repositories in SCM manager. But Tortoise Hg at the client side is not detecting the users created in SCM Manager. My aim is to give the users created in SCM manager the permission to clone and commit using Tortoise Hg. Anyone knows the solution please help.

1

There are 1 answers

0
DaSilva2010 On

You should check your configuration of TortoiseHg and the repository at SCM-Manager. At SCM-Manager side:

  • Open the permission tab of "RepoNew" and make sure that the user "arjun" has "write" or "owner" permission.
  • Copy the URL near "hg clone", in your case

    http://arjun@localhost:8087/hg/RepoNew
    

At TortoiseHg side:

  • Start TortoiseHg Workbench
  • Click on File ==> Settings
  • Choose "Commit" on the left side.
  • Type in your Username. SCM-Manager likes the format "YourName < [email protected]>" as username (Note: this is a global setting. You can change settings per repository later).
  • Click ok, and choose File ==> Clone Repository... from the menu.
  • Paste the URL in the source field you got from the SCM-Manager
  • Choose a destination directory
  • Click on the clone button.
  • You will be prompted for a password.

If this was successful, this repository should be configured already for pushing. Try to add a file, commit and finally push it to the server.