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

from_submodule does not handle branch feature #128

Open
gold2718 opened this issue Aug 25, 2019 · 0 comments
Open

from_submodule does not handle branch feature #128

gold2718 opened this issue Aug 25, 2019 · 0 comments
Labels

Comments

@gold2718
Copy link
Collaborator

Summary of Issue:

If a submodule is using the branch feature (i.e., in the .gitmodules file) and the ME from_submodules feature is being used to clone that submodule, checkout_externals generates warning messages.

Expected behavior and actual behavior:

ME should do whatever is required of the branch feature.
but
warnings are generated.

Steps to reproduce the problem (should include model description file(s) or link to publi c repository):

  1. Configure a repository that has at least one submodule which uses the branch = <name> feature.
  2. Write an externals file for that repository which uses the from_submodule = True syntax to check out that repository.
  3. Run manage_externals/checkout_externals on that repository.

What is the changeset ID of the code, and the machine you are using: a48558d

have you modified the code? No

Screen output or log file showing the error message and context:

WARNING:root:WARNING: Ignoring unknown branch property, in /Users/goldy/Coding/scratch/NEMSfv3gfs/.gitmodules
WARNING:root:WARNING: Ignoring unknown branch property, in /Users/goldy/Coding/scratch/NEMSfv3gfs/.gitmodules
WARNING:root:WARNING: Ignoring unknown branch property, in /Users/goldy/Coding/scratch/NEMSfv3gfs/.gitmodules
WARNING:root:WARNING: Ignoring unknown branch property, in /Users/goldy/Coding/scratch/NEMSfv3gfs/.gitmodules
WARNING:root:WARNING: Ignoring unknown branch property, in /Users/goldy/Coding/scratch/NEMSfv3gfs/.gitmodules
@gold2718 gold2718 added the bug label Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant