-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Moving objects does not work, when switching branches #842
Comments
automatic moving between packages during pull is not implemented yet 😢 |
workaround is to move the objects manually, or uninstall and install all objects again |
I have already feared, that this is a missing feature. Yes I definitely need to do something manually, here. Unfortunately in one of our projects, there is a big refactoring pending, which includes moving many objects from some packages to others. And refactoring in abap is always a pain :-D |
tip: you can use transaction SE03 to do mass changes for objects, https://blogs.sap.com/2013/09/25/mass-tadir-changes-using-se03/ hope this will be implemented in abapGit sometime in the future, pull requests welcome |
alternatively as a quick fix, perhaps make a small utility program outside of abapGit, which calls some of the abapGit functionality, that can be used to fix the package assignments |
Wow thanks alot for the SE03 magic. I have already used this transaction to change the origin of some objects, but didn't know, that is offers an option for mass changes |
Closing, use #1483 Workaround: Advanced -> Reset local |
When the package assignment of an object has been changed, a branch switch does not work anymore.
Example with current version 1.37.5:
Preparation:
zassign
zassign_one
(sub package ofzassign
)zassign_two
(sub package ofzassign
)zassign_element
in packagezassign_one
In abapGit do:
zassign
to a git repo with abapGit (branchmaster
)reassignment
Now, do the following
zassign_element
-> 'Other Functions' -> 'Change Package Assignment'zassign_two
as new packagereassignment
(It will removezassign_element
fromzassign_one
and add it tozassign_two
in the repository)Now the weird stuff happens (at least for my understanding):
reassignment
to the originalmaster
branch. This will show you a popup, thatzassign_element
will be replaced. ClickOK
.zassign_element
has been moved back fromzassign_two
tozassign_one
The other way round does not work anymore:
master
back toreassignment
zassign_element
fromzassign_one
tozassign_two
it stays inzassign_one
and abapGit interprets this as a local change compared to the repository.Is this considered a bug or is there something I do not understand?
Best regards,
Tobias
The text was updated successfully, but these errors were encountered: