Repo is a repository management tool that Android built on top of Git. Repo unifies the many Git repositories when necessary, does the uploads to our revision control system, and automates parts of the Android development workflow. Repo is not meant to replace Git, only to make it easier to work with Git in the context of Android. The repo command is an executable Python script that you can put anywhere in your path.
Questions tagged [repo]
604 questions
0
votes
1 answer
Separate source dependencies from user and userdebug configuration
Where i live there isn't optical fiber, so before downloading android source i edit manifest.xml for deleting unused projects consequently i have less data to download.
Reading AOSP Documentation
Here's explain the difference from userdebug, user…

xenord
- 23
- 5
0
votes
1 answer
How to add multiple kernel versions to local repo manifest
I followed this link to create a local manifest to download a particular version of android kernel as follows:

skylinedreamer
- 71
- 10
0
votes
1 answer
Repo binary update for CM
I was repo syncing CyanogenMod today and got something like this :
hello@hawk:~/CM13$ repo sync
... A new repo command ( 1.22) is available.
... You should upgrade soon:
cp /home/hello/CM13/.repo/repo/repo /usr/bin/repo
Should I do what is…

Hello Man
- 693
- 2
- 12
- 29
0
votes
0 answers
--depth=1 option with Google repo
I have limited space in my VM, so I am trying to checkout the latest version of the Android source (without the repo history). I did the following:
repo init -u https://android.googlesource.com/platform/manifest -b android-5.1.1_r37 --depth=1
repo…

sqr
- 365
- 2
- 12
- 29
0
votes
1 answer
Android repo sync doesn't create src directories
I'm trying to compile AOSP for 6.0.1 from source. There's a strange issue I'm seeing for which I haven't found similar posts.
After downloading the source using repo sync -f, repo finishes, but the source directory is empty. It just contains the…

fastforward
- 63
- 6
0
votes
2 answers
Not able to make the local manifest file as default for repo sync
After downloading the Nexus 5x android source code from google, I want to integrate our code to it. So, I created a local manifest file under .repo/local_manifests/local_manifest.xml.
I ran repo init -m .repo/local_manifests/local_manifest.xml and…

Nanjesh S Gowda
- 1
- 2
0
votes
3 answers
Error when typing "git commit"?
I'm building a ROM but I need a commit into /frameworks/base repo. So i "git fetch" the Github repo and then I type "git commit xxxxx", but the output is:
error: pathspec xxxxx did not match any file(s) known to git.
Any help?

SlimShadys
- 119
- 3
- 17
0
votes
1 answer
svn organization with shared classes
Wanted to get some advice regarding best practices for organizing java repos under version control. I am was planning on having each project under its own repo along with a shared class repo (contains classes that may be used or extended by…

not_rafay
- 181
- 1
- 14
0
votes
1 answer
List out-of-date branches with `repo forall`
Just to clarify, this is about Android Repo.
I would like to be able to compare my working directory against an arbitrary remote branch using repo forall to see if there are any changes that I need to pull from that branch.
This is the closest I've…

mkasberg
- 16,022
- 3
- 42
- 46
0
votes
0 answers
Use Mercurial to create a repository that pulls from another one?
I was curious if there was a way to use mercurial to create a repo from another that strictly matches its' own projects files with the main repo, but can not be pushed into the main repo. It would be a sort of sister repository, it would only allow…

Greg Froning
- 213
- 1
- 4
- 16
0
votes
1 answer
Cyanogenmod installation. Repo sync error. fatal: Couldn't find remote ref refs/heads/gingerbread
I am following the official guide for building cyanogenmod for my device (a1000).
At first i want to build for any supported device, then port CM for mine, as they recommend.
My OS is Ubuntu 14.04 64-bit Laptop
I am stuck on syncing repo step.…

Nick Kashkin
- 35
- 2
- 9
0
votes
1 answer
Building Vanilla AOSP Rom with CM repos?
I'd like to know if I can build a pure Vanilla 6.0 ROM with CyanogenMod repos for my device.
Here they are:
Device
Kernel
Should I do some particular edits (excluded adding my device to "lunch")?
Thank you :)

SlimShadys
- 119
- 3
- 17
0
votes
2 answers
How to clean up .repo directory after syncing?
I was recently working on Android development and had to sync the Cyanogenmod 12.1 sources to my computer using repo.
Due to some connectivity issue, I had a frequently disconnecting internet connection which led to a failing repo sync several…

adeen-s
- 156
- 3
- 13
0
votes
1 answer
set $PATH as all possible paths from $HOME
Reset the path as all possible paths from ~.
Ex:
$HOME$
| \
| stuff
repos | \
| | | \
math| | random
| science
awesome
| |
cool extra
$PATH$ =…

retep
- 317
- 2
- 13
0
votes
1 answer
use git repo of android library
I use AQuery, I have the last jar version and that works good. But i want to use the settempdir() function and i must build them self inside the file, when I try to do this, I can not change the class inside the jar file.
the sourcecode of Aquery is…

user3142817
- 787
- 2
- 9
- 15