-
Notifications
You must be signed in to change notification settings - Fork 23
nscale reports branch <x> is ahead of branch <y> by some commits #87
Comments
I followed your instructions and I could not reproduce. Can you please make instructions using https://github.com/nearform/sudc-system? I'm not really getting the explanation, nscale does not store the branch of the system repository anywhere. |
Yes, let me try this again, it's only happening when I switch branches. It just seemed like somehow the system was keying off of what branch I was on. I will fork sudc and attempt to reproduce. The thing that gets me here is, why is nscale using master, when I was on the other branch? Is there something in one of the definitions that sets that? |
I ran into this again, received the following error:
This one is different, in that what was in the I still haven't gotten around to checking out the nscale demo app and modifying it. I will do so soon, the original error confounds me, and I'm seeking to understand what is happening so it can be avoided in some meaningful way. |
Albeit not optimal, the last one is expected. I'm curious at the first one too, as I could not replicate it.
|
@mcollina I will work sometime today to replicate the first one, as it doesn't make any sense to me either. :) |
@mcollina I cannot reproduce this using the sudc test application. I didn't do anything different for the test app as far as I can tell. I did some extra things too:
Bottom line is, it's working as I expect it to work, in that: changes to the system under a branch only affect that branch of the system, not There must be some combination of steps I am doing to generate the original message, that is causing me to have to Maybe this is something I did to make git think that I was on the wrong branch, though, I can't quite sort out why I would even receive the above message. It appears to be a |
Scenario:
nscale system compile
produces the following:The branch listed above, may be master, or may be something else.
Solution:
nscale system unlink <system-name or directory-of-cloned-system>
nscale system link .
in your current working directory, on the branch you want to modifyExplanation (this is not correct)When nscale produces a system the branch of the repository gets recorded for subsequent use. Once you change the branch in the repository, you are still using the original linked github repository. In order to make changes in a branch, simply unlink and link the system appropriately.
The text was updated successfully, but these errors were encountered: