public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Graeme Russ <graeme.russ@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Syncing custodian tree (the new way) - What am I doing wrong?
Date: Tue, 25 Oct 2011 22:32:21 +1100	[thread overview]
Message-ID: <4EA69E45.4020109@gmail.com> (raw)
In-Reply-To: <4EA6980D.8010806@free.fr>

Hi Albert,

On 25/10/11 22:05, Albert ARIBAUD wrote:
> Le 25/10/2011 09:53, Wolfgang Denk a ?crit :
>> Dear Graeme Russ,
>>
>> In message<4EA66869.7000106@gmail.com>  you wrote:
>>>
>>> I'm trying to figure out what I'm doing wrong trying to sync my local x86
>>> repo as per the 'new' instructions on the wiki. This is what I get:
>>
>> I did not write (and actually not even read yet) these new
>> instructions, so I cannot comment on this.
>>
>>> graeme at helios:~/Source/U-Boot/x86$ git rebase ${upstream}/master
>>> fatal: Needed a single revision
>>> invalid upstream u-boot/master
>>
>> Albert?
> 
> (answering from my non-U-boot address)
> 
> I did write the changes, and I think I did post an announcement on the
> U-Boot list about it.
> 
> Re: Greame's problem:
> 
> I should have made it clear that '${upstream}' is just a way to represent
> the upstream tree, either u-boot or u-boot-arm. The actual command for x86
> should thus be
> 
>     git rebase u-boot/master

I was already clear on that - I had set upstream=u-boot - Note the error
message:

fatal: Needed a single revision
invalid upstream u-boot/master
                 ^^^^^^
I think the problem is at:

git fetch git://git.denx.de/${upstream}.git

Where are we actually pulling the upstream tree into?

No my repo is at ~/Source/U-Boot/x86/ and I have uboot and master branches
there (as per previous wiki instructions) so I tried:

git checkout uboot
git fetch git://git.denx.de/${upstream}.git
git checkout master
git rebase ${upstream}/master

But that is not right - I would normally rebase to uboot

I think there is a missing link here somewhere

> 
> (or whatever name you gave to the upstream tree remote)
> 
> Alternatively, one could do
> 
>     setenv upstream u-boot
> or
>     set upstream=u-boot
> 
> depending on the shell used.
> 
> I'll amend the Wiki pages to make that clear.
> 

Regards,

Graeme

  reply	other threads:[~2011-10-25 11:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25  7:42 [U-Boot] Syncing custodian tree (the new way) - What am I doing wrong? Graeme Russ
2011-10-25  7:53 ` Wolfgang Denk
2011-10-25 11:05   ` Albert ARIBAUD
2011-10-25 11:32     ` Graeme Russ [this message]
2011-10-25 15:52       ` Laurence Withers
2011-10-25 16:20       ` Albert ARIBAUD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EA69E45.4020109@gmail.com \
    --to=graeme.russ@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox