-
Notifications
You must be signed in to change notification settings - Fork 274
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
Fix #313: Ensured "-u" options is respected by "subrepo:push()". #314
base: master
Are you sure you want to change the base?
Conversation
Happy to work on test fixes, if the PR itself makes sense :) |
77d96c3
to
a53e7a7
Compare
@grimmySwe, @plach79, I'm pretty sure I want this. @grimmySwe, I'm going to wait on your feedback here and on #313, but I think I definitely want tests for it. If we want update-on-push behavior we can add it as a config option. I think Of course we still need to hear from @grimmySwe that new subrepo functionality |
We are using same kind of workflow as @plach79 and need to push different branches in subrepos. Our workflow :
As our deployment processes are currently linked to our subrepos, we need to keep them in sync to deploy and test our release.
Here, without #314, subrepos/.gitrepo files are updated to track the release/multi-projects branches.
When we are happy with the release, we merge the release into master.
Now we want to deploy it to production and need to push our master branch to subrepos.
Without #314, this last step fails as the subrepos/.gitrepo files are now tracking the release/multi-projects branches, and we cannot push anymore to the master branches. |
@aya Very good description of the use case! Thank you. |
Can you target this PR against master? The |
rebasing @plach79 ingydotnet#314 PR onto master
a53e7a7
to
9cbe7ba
Compare
Sorry, I completely missed your reply. I just rebased the PR onto |
I have a feeling this pull request changes too much. Without |
Is there any chance to merge this fix? Implicitly enabled Simple test of pull without "git subrepo push" update commit works ok for me - it is able to add only new commits from subrepo. On the other hand, if you want |
My idea is to remove the automatic "pull" during a |
This is supposed to fix #313.