pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

Preserve VCS history while renaming package

VM
Vitor Medina Cruz
Fri, Jul 30, 2021 2:49 PM

Hello,

Is it possible to rename a package while keeping code history? When I do
that, for example, rename from A to B, Iceberg shows me that A is no longer
loaded, it is not aware of the refactoring. If I remove A and add package B
and prompts a commit, it shows me like all inside B is new and that A was
deleted, losing the renaming history link. Is it possible to keep that
link, and workaround or such thing, or for now it isn't supported?

Thanks,
Vitor

Hello, Is it possible to rename a package while keeping code history? When I do that, for example, rename from A to B, Iceberg shows me that A is no longer loaded, it is not aware of the refactoring. If I remove A and add package B and prompts a commit, it shows me like all inside B is new and that A was deleted, losing the renaming history link. Is it possible to keep that link, and workaround or such thing, or for now it isn't supported? Thanks, Vitor
VM
Vitor Medina Cruz
Sun, Aug 1, 2021 4:37 PM

Found this issue: https://github.com/pharo-vcs/iceberg/issues/82

I did the renaming from git bash and it works as a good workaraound.

On Fri, Jul 30, 2021 at 11:49 AM Vitor Medina Cruz vitormcruz@gmail.com
wrote:

Hello,

Is it possible to rename a package while keeping code history? When I do
that, for example, rename from A to B, Iceberg shows me that A is no longer
loaded, it is not aware of the refactoring. If I remove A and add package B
and prompts a commit, it shows me like all inside B is new and that A was
deleted, losing the renaming history link. Is it possible to keep that
link, and workaround or such thing, or for now it isn't supported?

Thanks,
Vitor

Found this issue: https://github.com/pharo-vcs/iceberg/issues/82 I did the renaming from git bash and it works as a good workaraound. On Fri, Jul 30, 2021 at 11:49 AM Vitor Medina Cruz <vitormcruz@gmail.com> wrote: > Hello, > > Is it possible to rename a package while keeping code history? When I do > that, for example, rename from A to B, Iceberg shows me that A is no longer > loaded, it is not aware of the refactoring. If I remove A and add package B > and prompts a commit, it shows me like all inside B is new and that A was > deleted, losing the renaming history link. Is it possible to keep that > link, and workaround or such thing, or for now it isn't supported? > > Thanks, > Vitor >