Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion cann't repo upload
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
john  
View profile  
 More options May 10 2012, 3:33 am
From: john <zjh1986132...@163.com>
Date: Thu, 10 May 2012 00:33:25 -0700 (PDT)
Local: Thurs, May 10 2012 3:33 am
Subject: cann't repo upload
HI
   I can use repo init ,repo sync,repo upload to work,but now I have a
problem with the path.
   there are two differerent groups and echo should have the whole
projects of android, so I would make the android projects  different .
I change the path of projects for second group as /group2/
platform/.... for each project.but now I can not repo upload . the
details as follow.

   the path of manifest

   group2/platform/manifest.git

  xml

  1 <?xml version="1.0" encoding="UTF-8"?>
  2 <manifest>
  3   <remote  name="korg"
  4            fetch=".."
  5            review="http://192.168.22.221/" />
  6   <default revision="refs/heads/mov"
  7            remote="korg" />
  8
  9   <project path="external/ppp" name="platform/external/ppp" />
 10   <project path="external/proguard" name="platform/external/
proguard" />
 11   <project path="external/qemu" name="platform/external/qemu" />
 12   <project path="external/quake" name="platform/external/quake" />
 .............

 $ repo init -u ssh://j...@192.168.22.221:29418/group2/platfrom/manifest.git
-b mov
 $ repo sync

  yes,they all work  fine

 but when I change somefile  and do repo upload ,there will be error

$ repo upload
 ..........
  remote: Resolving deltas: 100% (2/2)
 To ssh://j...@192.168.22.221:29418/platform/external/quake
  ! [remote rejected] mov -> refs/for/mov (branch mov not found)
 error: failed to push some refs to 'ssh://j...@192.168.22.221:29418/
platform/external/quake'

----------------------------------------------------------------------
  [FAILED] external/quake/ mov        (Upload failed)

I also use
$ repo --trace upload

I find that  the path is error ,it miss the path of group2,the true
path should be
ssh://j...@192.168.22.221:29418/group2/platform/external/quake

if i change the xml  as

  <project path="external/proguard" name="group2/platform/external/
proguard" />

 repo sync will be error!!!  the path will be wrong and cann't fetch
the project.

how should i do with the path ? change the xml or I cann't set the
path as what i do ?

thanks for your help !


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.