On 2 September 2014 19:01, Andrew Wang <andrew.w...@cloudera.com> wrote:

> This is basically what I did, make patches of each of my branches and then
> reapply to the new trunk. One small recommendation would be to make the
> remote named "apache" rather than "asflive" so it's consistent with the
> GitAndHadoop wikipage. IMO naming branches with a "/" (e.g. "live/trunk")
> is also kind of ambiguous, since it's the same syntax used to specify a
> remote. It seems there can also be difficulties with directory and
> filenames.
>

once done you can rename stuff.

I use the hierarchy structure as
 -git flow does it (e.g feature/JIRA-557)
 -you can isolate your work (stevel/ ) from things you've pulled in
(incoming/aw

you do have to keep your subdir name different from your remote name though
or it does get confused, as you point out.

Maybe at the end add the action I will ultimately take (git branch remote
rename asflive origin && git branch rename live/trunk trunk)



> Somewhat related, it'd be nice to update the GitAndHadoop instructions on
> how to generate a patch using git-format-patch. I've been using plain old
> "git diff" for a while, but format-patch seems better. It'd be especially
> nice if a recommended .gitconfig section was made available :)
>
> I plan to play with format-patch some in the near future and might do this
> myself, but if any git gurus already have this ready to go, feel free to
> edit.
>

Does the patch submit code take it?



>
>
> On Tue, Sep 2, 2014 at 4:10 AM, Steve Loughran <ste...@hortonworks.com>
> wrote:
>
> > Now that hadoop is using git, I'm migrating my various work-in-progress
> > branches to the new commit tree
> >
> >
> > 1. This is the process I've written up for using git format-patch then
> git
> > am to export the patch sequence and merge it in, then rebasing onto trunk
> > to finally get in sync
> >
> > https://wiki.apache.org/hadoop/MigratingPrivateGitBranches
> >
> > 2. The Git and hadoop docs cover git graft:
> >
> >
> https://wiki.apache.org/hadoop/GitAndHadoop#Grafts_for_complete_project_history
> >
> > I'm not sure if/how that relates
> >
> > Is there any easier way than what I've described for doing the move?
> >
> > --
> > CONFIDENTIALITY NOTICE
> > NOTICE: This message is intended for the use of the individual or entity
> to
> > which it is addressed and may contain information that is confidential,
> > privileged and exempt from disclosure under applicable law. If the reader
> > of this message is not the intended recipient, you are hereby notified
> that
> > any printing, copying, dissemination, distribution, disclosure or
> > forwarding of this communication is strictly prohibited. If you have
> > received this communication in error, please contact the sender
> immediately
> > and delete it from your system. Thank You.
> >
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to