2

Is any repo sync option could override the remote URL by specified project
for example, I have locally kernel git repository and some hotfix, driver porting whatever
so I want to run such fake command without modified .repo/manifect.xml

repo sync --project-remote-url=git://my.server.ip/kernel.git

parsley72
  • 8,449
  • 8
  • 65
  • 98
Robber Pen
  • 1,033
  • 2
  • 12
  • 24

1 Answers1

1

Try with local-manifests.

The local manifests will be combined with the default.xml. And you can adding or replacing projects in default.xml.

For example:

<manifest>
    <!-- add github as a new remote source -->
    <remote name="github" fetch="git://github.com" />

    <!-- remove project in default.xml -->
    <remove-project name="platform/bootable/recovery" />
  
    <!-- replace with new remote github -->
    <project path="bootable/recovery" name="CyanogenMod/android_bootable_recovery" remote="github" revision="cm-10.1" />

    <!-- add new project -->
    <project path="external/busybox" name="CyanogenMod/android_external_busybox" remote="github" revision="cm-10.1" />

</manifest>
Yong
  • 1,529
  • 12
  • 21