Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subproject stuff #9

Open
NattyNarwhal opened this issue Jul 17, 2021 · 7 comments
Open

Subproject stuff #9

NattyNarwhal opened this issue Jul 17, 2021 · 7 comments
Labels
SCC hole SCC function, flag, or concept we don't implement

Comments

@NattyNarwhal
Copy link
Collaborator

The subproject stuff feels really nebulous, but it seems that solution-based VS (devenv), even the '98 versions, wants a notion of this. I'm not sure how it maps to git, except I don't think submodules would fit; I think it's more multiple projects in a solution.

We'll need it at least for AddFromScc support; I believe this is SetOpt 6.

@NattyNarwhal
Copy link
Collaborator Author

The AddFromScc portion is implemented.

@NattyNarwhal NattyNarwhal added the SCC hole SCC function, flag, or concept we don't implement label Jul 27, 2021
@NattyNarwhal
Copy link
Collaborator Author

Implication from above is this only seems used for when things are split - like a web project

@NattyNarwhal
Copy link
Collaborator Author

Testing adding a project from another dir already under SCC, VS2005 seems to handle it well.

@NattyNarwhal
Copy link
Collaborator Author

though if i create a proj in the solution outside of the solution root:

The project that you are attempting to add to source control may cause other source control users to have difficulty opening this solution or getting newer versions of it. To avoid this problem, add the project from a location below the binding root (C:\Documents and Settings\Calvin Buckley\My Documents\Visual Studio 2005\Projects\Site3) of the other source controlled projects in the solution.

@NattyNarwhal
Copy link
Collaborator Author

after GetParentProjPath returns:

There was an error trying to create a folder in the source control database using the default name. To continue adding the project to source control you'll have to manually select the desired database location.

@NattyNarwhal
Copy link
Collaborator Author

Yet it calls GetProjPath (which offers to git init). When we disable the subproj caps, it just skips directly to that, which is the right thing.

If the subproject stuff made the web case easier, I think it might be worth justifying. Otherwise, without an example, why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SCC hole SCC function, flag, or concept we don't implement
Projects
None yet
Development

No branches or pull requests

1 participant