Hi!

I have a stgit question. I've followed the instructions on

  http://wiki.openmoko.org/wiki/Hints_on_using_GIT_and_stgit

but I have a problem on pulling new remote changes to my local
repository. I have a local branch on the "origin/stable" branch
("simons-fixes", from the tutorial :-)). However, when doing a plain
stg pull in my own branch I get

   [EMAIL PROTECTED] kernel]$ stg pull
   Notice: No parent remote declared for stack "simons-fixes", defaulting to 
"origin".
           Consider setting "branch.simons-fixes.remote" and 
"branch.simons-fixes.merge" with "git repo-config".
   ...
   stg pull: Failed "git-pull origin"

I then tried to set these to "origin/stable", but I then get:

   [EMAIL PROTECTED] kernel]$ git repo-config branch.simons-fixes.remote 
origin/stable
   [EMAIL PROTECTED] kernel]$ git repo-config branch.simons-fixes.merge 
origin/stable
   [EMAIL PROTECTED] kernel]$ stg pull
   Checking for changes in the working directory ... done
   Pulling from "origin/stable"
   fatal: 'origin/stable': unable to chdir or not a git archive
   fatal: The remote end hung up unexpectedly
   stg pull: Failed "git-pull origin/stable"

Looking at the tutorial, I also tried pulling on master, i.e.,

   [EMAIL PROTECTED] kernel]$ stg branch master
   Checking for changes in the working directory ... done
   Switching to branch "master" ... done
   [EMAIL PROTECTED] kernel]$ stg pull
   Checking for changes in the working directory ... done
   stg pull: Branch "master" not initialised

So I'm not sure what to do here. Should I do a stg init on the "master" branch
as well or is there some other trick I can use?

// Simon

Reply via email to