Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #5420
Closed
Open
Created Jul 04, 2019 by Bitbucket Importer@bitbucket_importerOwner

No projrc module found on v4.9.1 (migration from v3.3.3)

Created originally on Bitbucket by Anonymous

I'm currently using TortoiseHg v3.3.3 as versioning software for my C# source code. Since it is a very old version, I recently tried to update to the latest version v4.9.1.

In many of my code projects (repositories) I'm using the projrc module (so a projrc file) to remap the folder for dependency libraries that are treated as subrepositories.

In this way, if I need, I can map each of my repository to a specific version of each subrepository, since the subrepository folder is cloned independently inside each repository where I need.

After installing TortoiseHg v4.9.1, while trying to clone an existing repository, I immediately get an error if the repository is referencing subrepositories using projrc. The error simply says that:

No projrc module was found.

I tried by checking the TortoiseHg Settings under Extensions menu and I can only see that the projrc module checkbox is checked. I also tried to uncheck/check again, but the error still persists. If I search inside the TortoiseHg v4.9.1 program folder in my PC for projrc module files, I find nothing. Instead, I find some .pyd file, while searching inside the v3.3.3.

What should I do? Is there a way to get back the projrc module? Is this a bug?

Otherwise, what alternatives do I have to get the same type of repository/subrepository management?

Here follows an example to better understand my usage of the projrc module.

####Example:

Main application repository: MyCompany.ServerApp

Dependecy libraries repositories:

MyCompany.SharedLibrary1
MyCompany.SharedLibrary2

.hgsub file content (the file is inside main application repository folder, under C:\source\MyCompany\MyCompany.ServerApp\.hgsub):

MyCompany.SharedLibrary1 = MyCompany.SharedLibrary1
MyCompany.SharedLibrary2 = MyCompany.SharedLibrary2

projrc file content (the file is inside main application repository folder, under C:\source\MyCompany\MyCompany.ServerApp\.hg\projrc):

#\ projrc encoding check, line must begin with '#\ '
[subpaths]
Z:\\Development\\hgRepo\\MyCompany.ServerApp/MyCompany.SharedLibrary1 = Z:/Development/hgRepo/SharedLibraries/MyCompany.SharedLibrary1
Z:\\Development\\hgRepo\\MyCompany.ServerApp/MyCompany.SharedLibrary2 = Z:/Development/hgRepo/SharedLibraries/MyCompany.SharedLibrary2

#####Note: / and \ (single and double) are correctly used as requested by projrc module.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking