Piling up on this thread to share some feedback. The rename happened
over the week-end and my understanding is that the rewrite tool landed
on Monday morning US Pacific time. When I went to the office the Monday
morning after the Big Rename, I had to manually rebase a few refactoring
CLs. That was very costly. Arguably, I could have waited for a tool to
be available but that meant leaving these CLs untouched for most of the
working day.
Maybe in the future it would good to make sure that the required tools
have landed when the changes are made and not the next morning given
that "next morning" means that EMEA and APAC working days are (mostly)
done.
I do understand that you have worked over the week-end to make this
change and I'm very glad it happened :) I'm only sharing this feedback
because I saw in a different thread that Nico was surprised that someone
(from Tokyo) had to manually rebase.
-- Mounir
On Mon, 17 Apr 2017, at 22:17, Philip Jägenstedt wrote:
> Actually, I noticed later it didn't work flawlessly even for my first CL.
> Any file that I had touched that had some parts of code behind ifdefs not
> build on my machine would effectively revert those sections to the
> pre-rename style. The result still built for me of course, but it
> required
> a fair bit of git checkout -p to revert the spurious changes.
>
> On Mon, Apr 17, 2017 at 7:12 PM Philip Jägenstedt <
foo...@chromium.org>
> wrote:
>
> > Thanks for the rebase helper! I also first had the need last Monday (APAC)
> > thought it wouldn't be too hard to just reformat using the clang tool with
> > my patch applied, but I couldn't get that to work.
> >
> > The rebase helper did work for one rather big revert I needed to get
> > across the rename. But then I had another dependent CL that deleted some
> > fails, and that caused the script to fail inside some python code. That's
> > probably a bug any time a rewritten file is deleted, can you take a look?
> >
> >
> > On Tue, Apr 11, 2017 at 7:01 AM Daniel Cheng <
dch...@chromium.org> wrote:
> >
> >> I've pushed the beta version of the rebase helper out. Due to the way we
> >> executed the rename, the rebase helper requires *building* some files when
> >> resolving conflicts. I probably wouldn't use it for a 5 line CL, but it
> >> should be helpful for larger CLs.
> >>
> >> *Caveats:*
> >>
> >> - If you have dependent branches, you must run --prepare on *all* the
> >> dependent branches before running --update. You may also encounter some
> >> bugs with dependent branches (my recollection is git rebase mostly works,
> >> but sometimes you need --onto as well? The tool currently doesn't pass
> >> --onto.)
> >> - The tool requires that all commits in the branch be squashed into
> >> one.
> >> - The tool assumes if you have a tracking branch set. git cl assumes
> >> that you're tracking origin/master by default if you have nothing set; if
> >> that's the case for you, you can set the upstream branch by running git
> >> branch --set-upstream-to origin/master
> >> - There's a known bug with the tool where some names don't get
> >> updated. This has to do with the fact that 'bool' is a macro (!!!). We'll
> >> try to fix this, but until it's fixed, please do inspect the merged result
> >> with some caution.
> >>
> >> *Setup instructions:*
> >> If you don't have tools/blink_rename_merge_helper/run.py in your
> >> repository, you can stage a copy by running:
> >> # Note that this intentionally saves it into run2.py to avoid conflicting
> >> with the checked in copy of run.py.
> >> git fetch origin
> >> git show cff45fb322cbdf2badb6ededde0106161bbfb13e >
> >> tools/blink_rename_merge_helper/run2.py
> >>
> >> Then use run2.py in the instructions below, rather than run.py.
> >>
> >> *Updating branches:*
> >>> <
https://chromium.googlesource.com/chromium/src/+/1c4d759e44259650dfb2c426a7f997d2d0bc73dc%5E%21/third_party/WebKit/Source/platform/scheduler/base/task_queue_selector_unittest.cc>).
> >>> I guess that wasn't expected? Should we just fix these up manually?
> >>>
> >>> - Sami
> >>>
> >>> ma 10. huhtik. 2017 klo 6.20 Emil A Eklund <
e...@chromium.org> kirjoitti:
> >>>
> >>> Awesome, thank you for working on this!
> >>>
> >>> --
> >>> You received this message because you are subscribed to the Google
> >>> Groups "blink-dev" group.
> >>> To unsubscribe from this group and stop receiving emails from it, send
> >>> an email to
blink-dev+...@chromium.org.
> >>>
> >>>
> >>>
> >>>
>
> --
> --
> Chromium Developers mailing list:
chromi...@chromium.org
> View archives, change email options, or unsubscribe:
>
http://groups.google.com/a/chromium.org/group/chromium-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "Chromium-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
chromium-dev...@chromium.org.
> To view this discussion on the web visit
>
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAARdPYexKmFSFpmawLt7BmKCWb8F-6w07pxbms%3DHeFrGqWCGXA%40mail.gmail.com.