mani chandel
2014-07-31 12:25:48 UTC
Hi,
We are trying to upload a change using repo upload in test environment
but we are getting following error.
Please suggest what are we missing here ?
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$> pwd
/home/testuser/gerrit_testsite/.repo
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$>
repo sync
Fetching project myproject
Fetching projects: 100% (1/1), done.
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$> git
branch
* master
testbranch
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$>
repo branch
* master | in all projects
testbranch | in all projects
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$>
repo upload
no branches ready for upload
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$>
repo upload --br=master
no branches ready for upload
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$>
repo upload --cbr
ERROR: Current branch (master) not uploadable. You may be able to type "git
branch --set-upstream-to m/master" to fix your branch.
no branches ready for upload
Here is some more information:
~/gerrit_testsite/.repo/repo$
<***@01HW595640:~/gerrit_testsite/.repo/repo$> cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://gerrit.googlesource.com/git-repo
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "default"]
remote = origin
merge = refs/heads/stable
~/gerrit_testsite/projects/myproject$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = ssh://***@localhost:29418/myproject
[branch "master"]
remote = origin
merge = refs/heads/master
Thanks and Regards,
Mani
We are trying to upload a change using repo upload in test environment
but we are getting following error.
Please suggest what are we missing here ?
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$> pwd
/home/testuser/gerrit_testsite/.repo
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$>
repo sync
Fetching project myproject
Fetching projects: 100% (1/1), done.
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$> git
branch
* master
testbranch
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$>
repo branch
* master | in all projects
testbranch | in all projects
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$>
repo upload
no branches ready for upload
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$>
repo upload --br=master
no branches ready for upload
~/gerrit_testsite/.repo$ <***@01HW595640:~/gerrit_testsite/.repo$>
repo upload --cbr
ERROR: Current branch (master) not uploadable. You may be able to type "git
branch --set-upstream-to m/master" to fix your branch.
no branches ready for upload
Here is some more information:
~/gerrit_testsite/.repo/repo$
<***@01HW595640:~/gerrit_testsite/.repo/repo$> cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://gerrit.googlesource.com/git-repo
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "default"]
remote = origin
merge = refs/heads/stable
~/gerrit_testsite/projects/myproject$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = ssh://***@localhost:29418/myproject
[branch "master"]
remote = origin
merge = refs/heads/master
Thanks and Regards,
Mani
--
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
To unsubscribe, email repo-discuss+***@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.