You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hgnested plugin was used to support Mercurial subrepositories in 1.x, but isn't available in 2.x. I mentioned it awhile ago in the old google groups forum, but that's been decommissioned, so I didn't want this to get lost. I can dig up a link to the old BitBucket repo that's archived on the Software Heritage Archive website, if needed.
Feature Request
Problem to be solved
We need a way to push to various parent repositories, and have any changes to the subrepositories immediately visible to any other parent repos that reference the subrepo.
Proposed solution
The plugin had a tab UI element in the parent repository that allowed mapping a URI to a known repository that is the subrepo, and then sent a 3xx redirect to the actual subrepo URL when it got a request for ${parent_url} + URI. That's sufficient, but if you want to improve the implementation, I'd suggest having the subrepo stored wherever you want to, and then use the Mercurial share extension to share the subrepo into the proper place under the parent repo. That has the advantage of:
No 3xx redirect needed
The parent repo in the filesystem is well-formed (i.e. the subrepo is nested under the parent as Mercurial expects), so filesystem commands like hg verify work in maintenance scripts, or could be added to the UI as a feature
Repo shares are a ~0 byte way to redirect Mercurial elsewhere like a symlink would, but it works on Windows too
I'm happy to help discuss/test/review or offer Mercurial expertise, but I can't do it myself because I don't understand the UI side of things here.
The text was updated successfully, but these errors were encountered:
@mharbison72 thank you for your patience and your suggestion.
From our perspective it would be easy to port the old nested plugin to SCM-Manager 3.x. Your suggestion is interesting and could you please tell us more about your use case? Thanks in advance.
Issue description
The hgnested plugin was used to support Mercurial subrepositories in 1.x, but isn't available in 2.x. I mentioned it awhile ago in the old google groups forum, but that's been decommissioned, so I didn't want this to get lost. I can dig up a link to the old BitBucket repo that's archived on the Software Heritage Archive website, if needed.
Feature Request
Problem to be solved
We need a way to push to various parent repositories, and have any changes to the subrepositories immediately visible to any other parent repos that reference the subrepo.
Proposed solution
The plugin had a tab UI element in the parent repository that allowed mapping a URI to a known repository that is the subrepo, and then sent a 3xx redirect to the actual subrepo URL when it got a request for ${parent_url} + URI. That's sufficient, but if you want to improve the implementation, I'd suggest having the subrepo stored wherever you want to, and then use the Mercurial
share
extension to share the subrepo into the proper place under the parent repo. That has the advantage of:hg verify
work in maintenance scripts, or could be added to the UI as a featureI'm happy to help discuss/test/review or offer Mercurial expertise, but I can't do it myself because I don't understand the UI side of things here.
The text was updated successfully, but these errors were encountered: